public class JSGFParserTokenManager extends java.lang.Object implements JSGFParserConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
java.io.PrintStream |
debugStream |
protected JavaCharStream |
input_stream |
static int[] |
jjnewLexState |
static java.lang.String[] |
jjstrLiteralImages |
static java.lang.String[] |
lexStateNames |
CHARACTER_LITERAL, DECIMAL_LITERAL, DEFAULT, DIGIT, EOF, EXPONENT, FLOATING_POINT_LITERAL, FORMAL_COMMENT, GRAMMAR, IDENTIFIER, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INTEGER_LITERAL, LETTER, MULTI_LINE_COMMENT, PUBLIC, SINGLE_LINE_COMMENT, STRING_LITERAL, TAG, tokenImage
Constructor and Description |
---|
JSGFParserTokenManager(JavaCharStream stream) |
JSGFParserTokenManager(JavaCharStream stream,
int lexState) |
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken() |
protected Token |
jjFillToken() |
void |
ReInit(JavaCharStream stream) |
void |
ReInit(JavaCharStream stream,
int lexState) |
void |
setDebugStream(java.io.PrintStream ds) |
void |
SwitchTo(int lexState) |
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 char curChar
public JSGFParserTokenManager(JavaCharStream stream)
public JSGFParserTokenManager(JavaCharStream stream, int lexState)
public void setDebugStream(java.io.PrintStream ds)
public void ReInit(JavaCharStream stream)
public void ReInit(JavaCharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()