org.crsh.cli.impl.tokenizer
Class Automaton
java.lang.Object
org.crsh.cli.impl.line.LineParser.Visitor
org.crsh.cli.impl.tokenizer.Automaton
-
class Automaton
- extends LineParser.Visitor
-
- Author:
- Julien Viet
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
status
private Automaton.Status status
-
.
buffer
private final StringBuilder buffer
-
.
tokens
final LinkedList<Token> tokens
-
.
from
private int from
-
.
lastWhitespace
private int lastWhitespace
-
.
s
private final CharSequence s
-
.
Automaton
Automaton(CharSequence s)
close
void close()
-
next
private void next(int current)
-
onChar
public void onChar(int index,
Quoting quoting,
boolean backslash,
char c)
-
- Overrides:
onChar
in class LineParser.Visitor
-
Copyright © 2015 eXo Platform SAS. All Rights Reserved.