public static interface Parser.SyntaxHandler
Modifier and Type | Method and Description |
---|---|
void |
comment(java.lang.CharSequence text)
Called for a comment.
|
void |
newLine(java.lang.CharSequence text)
Indicates that a new line starts.
|
void |
token(java.lang.CharSequence text)
Called when a token is encountered.
|
void |
whitespace(java.lang.CharSequence text)
Called when whitespace characters are encountered.
|
void newLine(java.lang.CharSequence text)
text
- the new line character (CR, LF, CR/LF or FF)void whitespace(java.lang.CharSequence text)
text
- the whitespace textvoid token(java.lang.CharSequence text)
text
- the token textvoid comment(java.lang.CharSequence text)
text
- the comment