Package jtb
Class JavaParserTokenManager
- Object
-
- JavaParserTokenManager
-
- All Implemented Interfaces:
JavaParserConstants
public class JavaParserTokenManager extends Object implements JavaParserConstants
-
-
Field Summary
Fields Modifier and Type Field Description protected char
curChar
PrintStream
debugStream
protected JavaCharStream
input_stream
static int[]
jjnewLexState
static String[]
jjstrLiteralImages
static String[]
lexStateNames
-
Fields inherited from interface JavaParserConstants
_DEFAULT, ABSTRACT, ANDASSIGN, ASSERT, ASSIGN, AT, BANG, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, CONST, CONTINUE, DECIMAL_EXPONENT, DECIMAL_FLOATING_POINT_LITERAL, DECIMAL_LITERAL, DECR, DEFAULT, DO, DOT, DOUBLE, ELLIPSIS, ELSE, ENUM, EOF, EQ, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, GT, HEX_LITERAL, HEXADECIMAL_EXPONENT, HEXADECIMAL_FLOATING_POINT_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LBRACE, LBRACKET, LE, LETTER, LONG, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, PART_LETTER, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PUBLIC, RBRACE, RBRACKET, REM, REMASSIGN, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, STAR, STARASSIGN, STATIC, STRICTFP, STRING_LITERAL, STUFF_TO_IGNORE, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE, XOR, XORASSIGN
-
-
Constructor Summary
Constructors Constructor Description JavaParserTokenManager(JavaCharStream stream)
JavaParserTokenManager(JavaCharStream stream, int lexState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getNextToken()
protected Token
jjFillToken()
void
ReInit(JavaCharStream stream)
void
ReInit(JavaCharStream stream, int lexState)
void
setDebugStream(PrintStream ds)
void
SwitchTo(int lexState)
-
-
-
Field Detail
-
debugStream
public PrintStream debugStream
-
jjstrLiteralImages
public static final String[] jjstrLiteralImages
-
lexStateNames
public static final String[] lexStateNames
-
jjnewLexState
public static final int[] jjnewLexState
-
input_stream
protected JavaCharStream input_stream
-
curChar
protected char curChar
-
-
Constructor Detail
-
JavaParserTokenManager
public JavaParserTokenManager(JavaCharStream stream)
-
JavaParserTokenManager
public JavaParserTokenManager(JavaCharStream stream, int lexState)
-
-
Method Detail
-
setDebugStream
public void setDebugStream(PrintStream ds)
-
ReInit
public void ReInit(JavaCharStream stream)
-
ReInit
public void ReInit(JavaCharStream stream, int lexState)
-
SwitchTo
public void SwitchTo(int lexState)
-
jjFillToken
protected Token jjFillToken()
-
getNextToken
public Token getNextToken()
-
-