Package jminusminus
Class JavaCCParserTokenManager
java.lang.Object
jminusminus.JavaCCParserTokenManager
- All Implemented Interfaces:
JavaCCParserConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
(package private) int
Debug output.(package private) int
protected SimpleCharStream
(package private) static final long[]
(package private) int
(package private) int
static final int[]
Lex State array.(package private) int
(package private) static final int[]
(package private) int
static 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
ConstructorDescriptionConstructor.JavaCCParserTokenManager
(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.protected Token
(package private) void
void
ReInit
(SimpleCharStream stream) Reinitialise parser.void
ReInit
(SimpleCharStream stream, int lexState) Reinitialise parser.void
Set debug output.(package private) void
SkipLexicalActions
(Token matchedToken) void
SwitchTo
(int lexState) Switch to specified lex state.(package private) void
TokenLexicalActions
(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.
-