|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.crsh.cli.impl.line.LineParser.Visitor org.crsh.cli.impl.tokenizer.Automaton
class Automaton
Nested Class Summary | |
---|---|
(package private) static class |
Automaton.Status
|
Field Summary | |
---|---|
private StringBuilder |
buffer
. |
private int |
from
. |
private int |
lastWhitespace
. |
private CharSequence |
s
. |
private Automaton.Status |
status
. |
(package private) LinkedList<Token> |
tokens
. |
Constructor Summary | |
---|---|
Automaton(CharSequence s)
|
Method Summary | |
---|---|
(package private) void |
close()
|
private void |
next(int current)
|
void |
onChar(int index,
Quoting quoting,
boolean backslash,
char c)
|
Methods inherited from class org.crsh.cli.impl.line.LineParser.Visitor |
---|
closeStrongQuote, closeWeakQuote, openStrongQuote, openWeakQuote, reset |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Automaton.Status status
private final StringBuilder buffer
final LinkedList<Token> tokens
private int from
private int lastWhitespace
private final CharSequence s
Constructor Detail |
---|
Automaton(CharSequence s)
Method Detail |
---|
void close()
private void next(int current)
public void onChar(int index, Quoting quoting, boolean backslash, char c)
onChar
in class LineParser.Visitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |