|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Parser.SyntaxHandler
This interface defines all possible syntactic elements of a Type 4 function. It is called by the parser as the function is interpreted.
Method Summary | |
---|---|
void |
comment(CharSequence text)
Called for a comment. |
void |
newLine(CharSequence text)
Indicates that a new line starts. |
void |
token(CharSequence text)
Called when a token is encountered. |
void |
whitespace(CharSequence text)
Called when whitespace characters are encountered. |
Method Detail |
---|
void newLine(CharSequence text)
text
- the new line character (CR, LF, CR/LF or FF)void whitespace(CharSequence text)
text
- the whitespace textvoid token(CharSequence text)
text
- the token textvoid comment(CharSequence text)
text
- the comment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |