org.crsh.cli.impl.parser
Class Parser<T>
java.lang.Object
org.crsh.cli.impl.parser.Parser<T>
- All Implemented Interfaces:
- Iterator<Event>
-
public final class Parser<T>
- extends Object
-
- implements Iterator<Event>
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tokenizer
private final Tokenizer tokenizer
-
.
mainName
private final String mainName
-
.
mode
private final Mode mode
-
.
command
private CommandDescriptor<T> command
-
.
status
private Status status
-
.
next
private final LinkedList<Event> next
-
.
Parser
public Parser(Tokenizer tokenizer,
CommandDescriptor<T> command,
String mainName,
Mode mode)
getStatus
Status getStatus()
-
-
getDelimiter
public Delimiter getDelimiter()
-
-
hasNext
public boolean hasNext()
-
- Specified by:
hasNext
in interface Iterator<Event>
-
next
public Event next()
-
- Specified by:
next
in interface Iterator<Event>
-
remove
public void remove()
-
- Specified by:
remove
in interface Iterator<Event>
-
determine
private void determine()
-
-
Copyright © 2014 eXo Platform SAS. All Rights Reserved.