Parser.SyntaxHandler
InstructionSequenceBuilder
public abstract static class Parser.AbstractSyntaxHandler extends java.lang.Object implements Parser.SyntaxHandler
Parser.SyntaxHandler
.Constructor | Description |
---|---|
AbstractSyntaxHandler() |
Modifier and Type | Method | Description |
---|---|---|
void |
comment(java.lang.CharSequence text) |
Called for a comment.
|
void |
newLine(java.lang.CharSequence text) |
Indicates that a new line starts.
|
void |
whitespace(java.lang.CharSequence text) |
Called when whitespace characters are encountered.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
token
public void comment(java.lang.CharSequence text)
comment
in interface Parser.SyntaxHandler
text
- the commentpublic void newLine(java.lang.CharSequence text)
newLine
in interface Parser.SyntaxHandler
text
- the new line character (CR, LF, CR/LF or FF)public void whitespace(java.lang.CharSequence text)
whitespace
in interface Parser.SyntaxHandler
text
- the whitespace text