public class GoloParserTokenManager extends java.lang.Object implements GoloParserConstants
Modifier and Type | Class and Description |
---|---|
static interface |
GoloParserTokenManager.TokenCompleter |
Modifier and Type | Field and Description |
---|---|
protected int |
curChar |
java.io.PrintStream |
debugStream
Debug output.
|
protected JavaCharStream |
input_stream |
static int[] |
jjnewLexState
Lex State array.
|
static java.lang.String[] |
jjstrLiteralImages
Token literal values.
|
static java.lang.String[] |
lexStateNames
Lexer state names.
|
GoloParserTokenManager.TokenCompleter |
tokenCompleter |
ADDITIVE_OPERATOR, AND_OPERATOR, AUGMENT, BIGDECIMAL, BIGINTEGER, BREAK, CASE, CATCH, CHAR, CLASSREF, COLL_START, COMMENT, CONSTANT_INVOCATION, CONTINUE, DECORATOR, DEFAULT, DOCUMENTATION, ELSE, EOF, EQUALITY_OPERATOR, ESCAPE, ESCAPED, FALSE, FINALLY, FLOAT, FLOATING_NUMBER, FOR, FOREACH, FUNCTION, FUNREF, ID_REST, IDENTIFIER, IF, IMPORT, IN, INVALID, INVOCATION_OPERATOR, LET, LETTER, LOCAL, LONG_NUMBER, MATCH, MODULE, MULTI_STRING, MULTIPLICATIVE_OPERATOR, NAMEDAUGMENTATION, NEWLINE, NULL, NUMBER, OR_IFNULL_OPERATOR, OR_OPERATOR, OTHERWISE, RELATIONAL_OPERATOR, RETURN, STRING, STRUCT, THEN, THROW, tokenImage, TRUE, TRY, UNARY_OPERATOR, UNION, VAR, WHEN, WHILE, WITH, WithinDocumentation, WithinMultiString
Constructor and Description |
---|
GoloParserTokenManager(JavaCharStream stream)
Constructor.
|
GoloParserTokenManager(JavaCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
protected Token |
jjFillToken() |
void |
ReInit(JavaCharStream stream)
Reinitialise parser.
|
void |
ReInit(JavaCharStream stream,
int lexState)
Reinitialise parser.
|
void |
setDebugStream(java.io.PrintStream ds)
Set debug output.
|
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
public GoloParserTokenManager.TokenCompleter tokenCompleter
public java.io.PrintStream debugStream
public static final java.lang.String[] jjstrLiteralImages
public static final java.lang.String[] lexStateNames
public static final int[] jjnewLexState
protected JavaCharStream input_stream
protected int curChar
public GoloParserTokenManager(JavaCharStream stream)
public GoloParserTokenManager(JavaCharStream stream, int lexState)
public void setDebugStream(java.io.PrintStream ds)
protected Token jjFillToken()
public Token getNextToken()
public void ReInit(JavaCharStream stream)
public void ReInit(JavaCharStream stream, int lexState)
public void SwitchTo(int lexState)