|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.cmdline.matcher.impl.Event
org.crsh.cmdline.matcher.impl.Event.Parameter<Token.Literal.Word,OptionDescriptor<?>>
org.crsh.cmdline.matcher.impl.Event.Option
public static final class Event.Option
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.crsh.cmdline.matcher.impl.Event |
---|
Event.Argument, Event.Method, Event.Option, Event.Parameter<T extends Token.Literal,D extends ParameterDescriptor<?>>, Event.Separator, Event.Stop |
Field Summary | |
---|---|
private Token.Literal.Option |
token
. |
Fields inherited from class org.crsh.cmdline.matcher.impl.Event.Parameter |
---|
descriptor, values |
Constructor Summary | |
---|---|
Event.Option(OptionDescriptor<?> descriptor,
Token.Literal.Option token,
List<Token.Literal.Word> values)
|
Method Summary | |
---|---|
int |
getFrom()
|
int |
getTo()
|
Token.Literal.Option |
getToken()
|
Methods inherited from class org.crsh.cmdline.matcher.impl.Event.Parameter |
---|
getDescriptor, getStrings, getValues, peekFirst, peekLast, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final Token.Literal.Option token
Constructor Detail |
---|
Event.Option(OptionDescriptor<?> descriptor, Token.Literal.Option token, List<Token.Literal.Word> values)
Method Detail |
---|
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<?>>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |