|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.cli.impl.parser.Parser<T>
public final class Parser<T>
Field Summary | |
---|---|
private CommandDescriptor<T> |
command . |
private Mode |
mode . |
private LinkedList<Event> |
next . |
private Status |
status . |
private Tokenizer |
tokenizer . |
Constructor Summary | |
---|---|
Parser(Tokenizer tokenizer, CommandDescriptor<T> command, Mode mode) |
Method Summary | |
---|---|
private void |
determine() |
(package private) Status |
getStatus() |
boolean |
hasNext() |
Event |
next() |
void |
remove() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Tokenizer tokenizer
private final Mode mode
private CommandDescriptor<T> command
private Status status
private final LinkedList<Event> next
Constructor Detail |
---|
public Parser(Tokenizer tokenizer, CommandDescriptor<T> command, Mode mode)
Method Detail |
---|
Status getStatus()
public boolean hasNext()
hasNext
in interface Iterator<Event>
public Event next()
next
in interface Iterator<Event>
public void remove()
remove
in interface Iterator<Event>
private void determine()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |