public static final class Event.Option extends Event.Parameter<Token.Literal.Word,OptionDescriptor>
Event.Argument, Event.Option, Event.Parameter<T extends Token.Literal,D extends ParameterDescriptor>, Event.Separator, Event.Stop, Event.Subordinate
Modifier and Type | Field and Description |
---|---|
private Token.Literal.Option |
token
.
|
command, parameter, values
Constructor and Description |
---|
Event.Option(CommandDescriptor<?> command,
OptionDescriptor descriptor,
Token.Literal.Option token,
List<Token.Literal.Word> values) |
Modifier and Type | Method and Description |
---|---|
int |
getFrom() |
int |
getTo() |
Token.Literal.Option |
getToken() |
getCommand, getParameter, getStrings, getValues, peekFirst, peekLast, toString
private final Token.Literal.Option token
Event.Option(CommandDescriptor<?> command, OptionDescriptor descriptor, Token.Literal.Option token, List<Token.Literal.Word> values)
public final Token.Literal.Option getToken()
public int getFrom()
getFrom
in class Event.Parameter<Token.Literal.Word,OptionDescriptor>
public int getTo()
getTo
in class Event.Parameter<Token.Literal.Word,OptionDescriptor>
Copyright © 2015 eXo Platform SAS. All Rights Reserved.