|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.cli.impl.parser.Parser<T>
public final class Parser<T>
| Field Summary | |
|---|---|
private CommandDescriptor<T> |
command
. |
private String |
mainName
. |
private Mode |
mode
. |
private LinkedList<Event> |
next
. |
private Status |
status
. |
private Tokenizer |
tokenizer
. |
| Constructor Summary | |
|---|---|
Parser(Tokenizer tokenizer,
CommandDescriptor<T> command,
String mainName,
Mode mode)
|
|
| Method Summary | |
|---|---|
private void |
determine()
|
Delimiter |
getDelimiter()
|
(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 String mainName
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,
String mainName,
Mode mode)
| Method Detail |
|---|
Status getStatus()
public Delimiter getDelimiter()
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 | |||||||||