Package jtb.cparser
Class CParserTokenManager
- Object
-
- CParserTokenManager
-
- All Implemented Interfaces:
CParserConstants
public class CParserTokenManager extends Object implements CParserConstants
-
-
Field Summary
Fields Modifier and Type Field Description protected static char
curChar
static String[]
jjstrLiteralImages
static String[]
lexStateNames
-
Fields inherited from interface CParserConstants
AUTO, BREAK, CASE, CHAR, CHARACTER_LITERAL, CONST, CONTINUE, DECIMAL_LITERAL, DEFAULT, DFLT, DIGIT, DO, DOUBLE, ELSE, ENUM, EOF, EXPONENT, EXTERN, FLOAT, FLOATING_POINT_LITERAL, FOR, GOTO, HEX_LITERAL, IDENTIFIER, IF, INT, INTEGER_LITERAL, LETTER, LONG, OCTAL_LITERAL, REGISTER, RETURN, SHORT, SIGNED, SIZEOF, STATIC, STRING_LITERAL, STRUCT, SWITCH, tokenImage, TYPEDEF, UNION, UNSIGNED, VOID, VOLATILE, WHILE
-
-
Constructor Summary
Constructors Constructor Description CParserTokenManager(ASCII_CharStream stream)
CParserTokenManager(ASCII_CharStream stream, int lexState)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Token
getNextToken()
static void
ReInit(ASCII_CharStream stream)
static void
ReInit(ASCII_CharStream stream, int lexState)
static void
SwitchTo(int lexState)
-
-
-
Field Detail
-
jjstrLiteralImages
public static final String[] jjstrLiteralImages
-
lexStateNames
public static final String[] lexStateNames
-
curChar
protected static char curChar
-
-
Constructor Detail
-
CParserTokenManager
public CParserTokenManager(ASCII_CharStream stream)
-
CParserTokenManager
public CParserTokenManager(ASCII_CharStream stream, int lexState)
-
-
Method Detail
-
ReInit
public static void ReInit(ASCII_CharStream stream)
-
ReInit
public static void ReInit(ASCII_CharStream stream, int lexState)
-
SwitchTo
public static void SwitchTo(int lexState)
-
getNextToken
public static final Token getNextToken()
-
-