Package jminusminus
Class JavaCCParserTokenManager
java.lang.Object
jminusminus.JavaCCParserTokenManager
- All Implemented Interfaces:
JavaCCParserConstants
Token Manager.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int(package private) intDebug output.(package private) intprotected SimpleCharStream(package private) static final long[](package private) int(package private) intstatic final int[]Lex State array.(package private) int(package private) static final int[](package private) intstatic final String[]Token literal values.(package private) static final long[](package private) static final long[](package private) static final long[](package private) static final long[]static final String[]Lexer state names.Fields inherited from interface jminusminus.JavaCCParserConstants
ABSTRACT, ASSIGN, BEGIN_COMMENT, BOOLEAN, CHAR, CHAR_LITERAL, CLASS, COMMA, COMMENT, DEC, DEFAULT, DIGIT, DOT, ELSE, END_COMMENT, EOF, EQUAL, ERROR, ESC, EXTENDS, FALSE, GT, IDENTIFIER, IF, IMPORT, IN_SINGLE_LINE_COMMENT, INC, INSTANCEOF, INT, INT_LITERAL, LAND, LBRACK, LCURLY, LE, LETTER, LNOT, LPAREN, MINUS, NEW, NULL, PACKAGE, PLUS, PLUS_ASSIGN, PRIVATE, PROTECTED, PUBLIC, RBRACK, RCURLY, RETURN, RPAREN, SEMI, STAR, STATIC, STRING_LITERAL, SUPER, THIS, tokenImage, TRUE, VOID, WHILE -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.JavaCCParserTokenManager(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected Token(package private) voidvoidReInit(SimpleCharStream stream) Reinitialise parser.voidReInit(SimpleCharStream stream, int lexState) Reinitialise parser.voidSet debug output.(package private) voidSkipLexicalActions(Token matchedToken) voidSwitchTo(int lexState) Switch to specified lex state.(package private) voidTokenLexicalActions(Token matchedToken)
-
Field Details
-
debugStream
Debug output. -
jjbitVec0
static final long[] jjbitVec0 -
jjstrLiteralImages
Token literal values. -
jjnextStates
static final int[] jjnextStates -
curLexState
int curLexState -
defaultLexState
int defaultLexState -
jjnewStateCnt
int jjnewStateCnt -
jjround
int jjround -
jjmatchedPos
int jjmatchedPos -
jjmatchedKind
int jjmatchedKind -
lexStateNames
Lexer state names. -
jjnewLexState
public static final int[] jjnewLexStateLex State array. -
jjtoToken
static final long[] jjtoToken -
jjtoSkip
static final long[] jjtoSkip -
jjtoSpecial
static final long[] jjtoSpecial -
jjtoMore
static final long[] jjtoMore -
input_stream
-
curChar
protected int curChar
-
-
Constructor Details
-
JavaCCParserTokenManager
Constructor. -
JavaCCParserTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
jjFillToken
-
getNextToken
Get the next Token. -
SkipLexicalActions
-
MoreLexicalActions
void MoreLexicalActions() -
TokenLexicalActions
-
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state.
-