public class ParserTokenManager extends Object implements ParserConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
PrintStream |
debugStream |
static String[] |
jjstrLiteralImages |
static String[] |
lexStateNames |
COMMENT, DEFAULT, DIGIT, EOF, FLOAT_LITERAL, IDENTIFIER, INTEGER_LITERAL, LETTER, STRING_LITERAL, tokenImage
Constructor and Description |
---|
ParserTokenManager(SimpleCharStream stream) |
ParserTokenManager(SimpleCharStream stream,
int lexState) |
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken() |
void |
ReInit(SimpleCharStream stream) |
void |
ReInit(SimpleCharStream stream,
int lexState) |
void |
setDebugStream(PrintStream ds) |
void |
SwitchTo(int lexState) |
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
protected char curChar
public ParserTokenManager(SimpleCharStream stream)
public ParserTokenManager(SimpleCharStream stream, int lexState)
public void setDebugStream(PrintStream ds)
public void ReInit(SimpleCharStream stream)
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
public final Token getNextToken()
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.