Package com.github.javaparser
Class GeneratedJavaParserTokenManager
- java.lang.Object
-
- com.github.javaparser.GeneratedJavaParserTokenManager
-
- All Implemented Interfaces:
GeneratedJavaParserConstants
public class GeneratedJavaParserTokenManager extends java.lang.Object implements GeneratedJavaParserConstants
Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description private CommentsCollection
commentsCollection
protected int
curChar
(package private) int
curLexState
java.io.PrintStream
debugStream
Debug output.(package private) int
defaultLexState
private JavaToken
homeToken
private java.lang.StringBuilder
image
protected SimpleCharStream
input_stream
(package private) static long[]
jjbitVec0
(package private) static long[]
jjbitVec1
(package private) static long[]
jjbitVec10
(package private) static long[]
jjbitVec11
(package private) static long[]
jjbitVec12
(package private) static long[]
jjbitVec13
(package private) static long[]
jjbitVec14
(package private) static long[]
jjbitVec15
(package private) static long[]
jjbitVec16
(package private) static long[]
jjbitVec17
(package private) static long[]
jjbitVec18
(package private) static long[]
jjbitVec19
(package private) static long[]
jjbitVec2
(package private) static long[]
jjbitVec20
(package private) static long[]
jjbitVec21
(package private) static long[]
jjbitVec22
(package private) static long[]
jjbitVec23
(package private) static long[]
jjbitVec24
(package private) static long[]
jjbitVec25
(package private) static long[]
jjbitVec26
(package private) static long[]
jjbitVec27
(package private) static long[]
jjbitVec28
(package private) static long[]
jjbitVec29
(package private) static long[]
jjbitVec3
(package private) static long[]
jjbitVec30
(package private) static long[]
jjbitVec31
(package private) static long[]
jjbitVec32
(package private) static long[]
jjbitVec33
(package private) static long[]
jjbitVec34
(package private) static long[]
jjbitVec35
(package private) static long[]
jjbitVec36
(package private) static long[]
jjbitVec37
(package private) static long[]
jjbitVec38
(package private) static long[]
jjbitVec39
(package private) static long[]
jjbitVec4
(package private) static long[]
jjbitVec40
(package private) static long[]
jjbitVec41
(package private) static long[]
jjbitVec42
(package private) static long[]
jjbitVec43
(package private) static long[]
jjbitVec44
(package private) static long[]
jjbitVec45
(package private) static long[]
jjbitVec46
(package private) static long[]
jjbitVec47
(package private) static long[]
jjbitVec48
(package private) static long[]
jjbitVec49
(package private) static long[]
jjbitVec5
(package private) static long[]
jjbitVec50
(package private) static long[]
jjbitVec51
(package private) static long[]
jjbitVec52
(package private) static long[]
jjbitVec53
(package private) static long[]
jjbitVec54
(package private) static long[]
jjbitVec55
(package private) static long[]
jjbitVec56
(package private) static long[]
jjbitVec57
(package private) static long[]
jjbitVec58
(package private) static long[]
jjbitVec59
(package private) static long[]
jjbitVec6
(package private) static long[]
jjbitVec60
(package private) static long[]
jjbitVec61
(package private) static long[]
jjbitVec62
(package private) static long[]
jjbitVec63
(package private) static long[]
jjbitVec64
(package private) static long[]
jjbitVec65
(package private) static long[]
jjbitVec66
(package private) static long[]
jjbitVec67
(package private) static long[]
jjbitVec68
(package private) static long[]
jjbitVec69
(package private) static long[]
jjbitVec70
(package private) static long[]
jjbitVec71
(package private) static long[]
jjbitVec72
(package private) static long[]
jjbitVec73
(package private) static long[]
jjbitVec74
(package private) static long[]
jjbitVec75
(package private) static long[]
jjbitVec76
(package private) static long[]
jjbitVec77
(package private) static long[]
jjbitVec78
(package private) static long[]
jjbitVec79
(package private) static long[]
jjbitVec8
(package private) static long[]
jjbitVec80
(package private) static long[]
jjbitVec81
(package private) static long[]
jjbitVec82
(package private) static long[]
jjbitVec83
(package private) static long[]
jjbitVec84
(package private) static long[]
jjbitVec85
(package private) static long[]
jjbitVec86
(package private) static long[]
jjbitVec87
(package private) static long[]
jjbitVec88
(package private) static long[]
jjbitVec89
(package private) static long[]
jjbitVec9
(package private) static long[]
jjbitVec90
(package private) static long[]
jjbitVec91
(package private) static long[]
jjbitVec92
(package private) static long[]
jjbitVec93
private java.lang.StringBuilder
jjimage
private int
jjimageLen
(package private) int
jjmatchedKind
(package private) int
jjmatchedPos
static int[]
jjnewLexState
Lex State array.(package private) int
jjnewStateCnt
(package private) static int[]
jjnextStates
(package private) int
jjround
private int[]
jjrounds
private int[]
jjstateSet
static java.lang.String[]
jjstrLiteralImages
Token literal values.(package private) static long[]
jjtoMore
(package private) static long[]
jjtoSkip
(package private) static long[]
jjtoSpecial
(package private) static long[]
jjtoToken
private int
lengthOfMatch
static java.lang.String[]
lexStateNames
Lexer state names.private boolean
storeTokens
private java.util.List<JavaToken>
tokens
private java.util.Stack<Token>
tokenWorkStack
private boolean
yieldSupported
-
Fields inherited from interface com.github.javaparser.GeneratedJavaParserConstants
_DEFAULT, ABSTRACT, ANDASSIGN, ARROW, ASSERT, ASSIGN, AT, BANG, BINARY_LITERAL, BIT_AND, BIT_OR, BOOLEAN, BREAK, BYTE, CASE, CATCH, CHAR, CHARACTER_LITERAL, CLASS, COLON, COMMA, COMMENT_CONTENT, CONST, CONTINUE, CTRL_Z, DECIMAL_EXPONENT, DECIMAL_FLOATING_POINT_LITERAL, DECIMAL_LITERAL, DECR, DEFAULT, DO, DOT, DOUBLE, DOUBLECOLON, ELLIPSIS, ELSE, ENTER_JAVADOC_COMMENT, ENTER_MULTILINE_COMMENT, ENTER_TEXT_BLOCK, ENUM, EOF, EQ, EXPORTS, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, GE, GOTO, GT, HEX_DIGITS, HEX_LITERAL, HEXADECIMAL_EXPONENT, HEXADECIMAL_FLOATING_POINT_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_JAVADOC_COMMENT, IN_MULTI_LINE_COMMENT, IN_TEXT_BLOCK, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, JAVADOC_COMMENT, LBRACE, LBRACKET, LE, LETTER, LONG, LONG_LITERAL, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MODULE, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NON_SEALED, NULL, OCTAL_LITERAL, OLD_MAC_EOL, OPEN, OPENS, ORASSIGN, PACKAGE, PART_LETTER, PERMITS, PLUS, PLUSASSIGN, PRIVATE, PROTECTED, PROVIDES, PUBLIC, RBRACE, RBRACKET, RECORD, REM, REMASSIGN, REQUIRES, RETURN, RPAREN, RSIGNEDSHIFT, RSIGNEDSHIFTASSIGN, RUNSIGNEDSHIFT, RUNSIGNEDSHIFTASSIGN, SC_AND, SC_OR, SEALED, SEMICOLON, SHORT, SINGLE_LINE_COMMENT, SLASH, SLASHASSIGN, SPACE, STAR, STARASSIGN, STATIC, STRICTFP, STRING_LITERAL, SUPER, SWITCH, SYNCHRONIZED, TEXT_BLOCK_CONTENT, TEXT_BLOCK_LITERAL, THIS, THROW, THROWS, TILDE, TO, tokenImage, TRANSIENT, TRANSITIVE, TRUE, TRY, UNICODE_ESCAPE, UNIX_EOL, USES, VOID, VOLATILE, WHILE, WINDOWS_EOL, WITH, XOR, XORASSIGN, YIELD
-
-
Constructor Summary
Constructors Constructor Description GeneratedJavaParserTokenManager(SimpleCharStream stream)
Constructor.GeneratedJavaParserTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
CommonTokenAction(Token token)
(package private) CommentsCollection
getCommentsCollection()
(package private) JavaToken
getHomeToken()
Token
getNextToken()
Get the next Token.(package private) java.util.List<JavaToken>
getTokens()
private void
jjAddStates(int start, int end)
private static boolean
jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
private static boolean
jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
private static boolean
jjCanMove_2(int hiByte, int i1, int i2, long l1, long l2)
private static boolean
jjCanMove_3(int hiByte, int i1, int i2, long l1, long l2)
private void
jjCheckNAdd(int state)
private void
jjCheckNAddStates(int start, int end)
private void
jjCheckNAddTwoStates(int state1, int state2)
protected Token
jjFillToken()
private int
jjMoveNfa_0(int startState, int curPos)
private int
jjMoveNfa_3(int startState, int curPos)
private int
jjMoveStringLiteralDfa0_0()
private int
jjMoveStringLiteralDfa0_1()
private int
jjMoveStringLiteralDfa0_2()
private int
jjMoveStringLiteralDfa0_3()
private int
jjMoveStringLiteralDfa1_0(long active0, long active1, long active2)
private int
jjMoveStringLiteralDfa1_1(long active0)
private int
jjMoveStringLiteralDfa1_2(long active0)
private int
jjMoveStringLiteralDfa1_3(long active1)
private int
jjMoveStringLiteralDfa10_0(long old0, long active0, long old1, long active1)
private int
jjMoveStringLiteralDfa11_0(long old0, long active0)
private int
jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1, long old2, long active2)
private int
jjMoveStringLiteralDfa2_3(long old1, long active1)
private int
jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1, long old2, long active2)
private int
jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1, long old2, long active2)
private int
jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1)
private int
jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1)
private int
jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, long active1)
private int
jjMoveStringLiteralDfa8_0(long old0, long active0, long old1, long active1)
private int
jjMoveStringLiteralDfa9_0(long old0, long active0, long old1, long active1)
private int
jjStartNfa_0(int pos, long active0, long active1, long active2)
private int
jjStartNfa_3(int pos, long active0, long active1)
private int
jjStartNfaWithStates_0(int pos, int kind, int state)
private int
jjStopAtPos(int pos, int kind)
private int
jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2)
private int
jjStopStringLiteralDfa_3(int pos, long active0, long active1)
(package private) void
MoreLexicalActions()
void
ReInit(SimpleCharStream stream)
Reinitialise parser.void
ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.private void
ReInitRounds()
(package private) void
reset()
void
setDebugStream(java.io.PrintStream ds)
Set debug output.void
setStoreTokens(boolean storeTokens)
void
setYieldSupported()
(package private) void
SkipLexicalActions(Token matchedToken)
void
SwitchTo(int lexState)
Switch to specified lex state.(package private) void
TokenLexicalActions(Token matchedToken)
-
-
-
Field Detail
-
tokens
private java.util.List<JavaToken> tokens
-
commentsCollection
private CommentsCollection commentsCollection
-
homeToken
private JavaToken homeToken
-
tokenWorkStack
private java.util.Stack<Token> tokenWorkStack
-
storeTokens
private boolean storeTokens
-
yieldSupported
private boolean yieldSupported
-
debugStream
public java.io.PrintStream debugStream
Debug output.
-
jjbitVec0
static final long[] jjbitVec0
-
jjbitVec1
static final long[] jjbitVec1
-
jjbitVec2
static final long[] jjbitVec2
-
jjbitVec3
static final long[] jjbitVec3
-
jjbitVec4
static final long[] jjbitVec4
-
jjbitVec5
static final long[] jjbitVec5
-
jjbitVec6
static final long[] jjbitVec6
-
jjbitVec8
static final long[] jjbitVec8
-
jjbitVec9
static final long[] jjbitVec9
-
jjbitVec10
static final long[] jjbitVec10
-
jjbitVec11
static final long[] jjbitVec11
-
jjbitVec12
static final long[] jjbitVec12
-
jjbitVec13
static final long[] jjbitVec13
-
jjbitVec14
static final long[] jjbitVec14
-
jjbitVec15
static final long[] jjbitVec15
-
jjbitVec16
static final long[] jjbitVec16
-
jjbitVec17
static final long[] jjbitVec17
-
jjbitVec18
static final long[] jjbitVec18
-
jjbitVec19
static final long[] jjbitVec19
-
jjbitVec20
static final long[] jjbitVec20
-
jjbitVec21
static final long[] jjbitVec21
-
jjbitVec22
static final long[] jjbitVec22
-
jjbitVec23
static final long[] jjbitVec23
-
jjbitVec24
static final long[] jjbitVec24
-
jjbitVec25
static final long[] jjbitVec25
-
jjbitVec26
static final long[] jjbitVec26
-
jjbitVec27
static final long[] jjbitVec27
-
jjbitVec28
static final long[] jjbitVec28
-
jjbitVec29
static final long[] jjbitVec29
-
jjbitVec30
static final long[] jjbitVec30
-
jjbitVec31
static final long[] jjbitVec31
-
jjbitVec32
static final long[] jjbitVec32
-
jjbitVec33
static final long[] jjbitVec33
-
jjbitVec34
static final long[] jjbitVec34
-
jjbitVec35
static final long[] jjbitVec35
-
jjbitVec36
static final long[] jjbitVec36
-
jjbitVec37
static final long[] jjbitVec37
-
jjbitVec38
static final long[] jjbitVec38
-
jjbitVec39
static final long[] jjbitVec39
-
jjbitVec40
static final long[] jjbitVec40
-
jjbitVec41
static final long[] jjbitVec41
-
jjbitVec42
static final long[] jjbitVec42
-
jjbitVec43
static final long[] jjbitVec43
-
jjbitVec44
static final long[] jjbitVec44
-
jjbitVec45
static final long[] jjbitVec45
-
jjbitVec46
static final long[] jjbitVec46
-
jjbitVec47
static final long[] jjbitVec47
-
jjbitVec48
static final long[] jjbitVec48
-
jjbitVec49
static final long[] jjbitVec49
-
jjbitVec50
static final long[] jjbitVec50
-
jjbitVec51
static final long[] jjbitVec51
-
jjbitVec52
static final long[] jjbitVec52
-
jjbitVec53
static final long[] jjbitVec53
-
jjbitVec54
static final long[] jjbitVec54
-
jjbitVec55
static final long[] jjbitVec55
-
jjbitVec56
static final long[] jjbitVec56
-
jjbitVec57
static final long[] jjbitVec57
-
jjbitVec58
static final long[] jjbitVec58
-
jjbitVec59
static final long[] jjbitVec59
-
jjbitVec60
static final long[] jjbitVec60
-
jjbitVec61
static final long[] jjbitVec61
-
jjbitVec62
static final long[] jjbitVec62
-
jjbitVec63
static final long[] jjbitVec63
-
jjbitVec64
static final long[] jjbitVec64
-
jjbitVec65
static final long[] jjbitVec65
-
jjbitVec66
static final long[] jjbitVec66
-
jjbitVec67
static final long[] jjbitVec67
-
jjbitVec68
static final long[] jjbitVec68
-
jjbitVec69
static final long[] jjbitVec69
-
jjbitVec70
static final long[] jjbitVec70
-
jjbitVec71
static final long[] jjbitVec71
-
jjbitVec72
static final long[] jjbitVec72
-
jjbitVec73
static final long[] jjbitVec73
-
jjbitVec74
static final long[] jjbitVec74
-
jjbitVec75
static final long[] jjbitVec75
-
jjbitVec76
static final long[] jjbitVec76
-
jjbitVec77
static final long[] jjbitVec77
-
jjbitVec78
static final long[] jjbitVec78
-
jjbitVec79
static final long[] jjbitVec79
-
jjbitVec80
static final long[] jjbitVec80
-
jjbitVec81
static final long[] jjbitVec81
-
jjbitVec82
static final long[] jjbitVec82
-
jjbitVec83
static final long[] jjbitVec83
-
jjbitVec84
static final long[] jjbitVec84
-
jjbitVec85
static final long[] jjbitVec85
-
jjbitVec86
static final long[] jjbitVec86
-
jjbitVec87
static final long[] jjbitVec87
-
jjbitVec88
static final long[] jjbitVec88
-
jjbitVec89
static final long[] jjbitVec89
-
jjbitVec90
static final long[] jjbitVec90
-
jjbitVec91
static final long[] jjbitVec91
-
jjbitVec92
static final long[] jjbitVec92
-
jjbitVec93
static final long[] jjbitVec93
-
jjstrLiteralImages
public static final java.lang.String[] 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
public static final java.lang.String[] lexStateNames
Lexer state names.
-
jjnewLexState
public static final int[] jjnewLexState
Lex State array.
-
jjtoToken
static final long[] jjtoToken
-
jjtoSkip
static final long[] jjtoSkip
-
jjtoSpecial
static final long[] jjtoSpecial
-
jjtoMore
static final long[] jjtoMore
-
input_stream
protected SimpleCharStream input_stream
-
jjrounds
private final int[] jjrounds
-
jjstateSet
private final int[] jjstateSet
-
jjimage
private final java.lang.StringBuilder jjimage
-
image
private java.lang.StringBuilder image
-
jjimageLen
private int jjimageLen
-
lengthOfMatch
private int lengthOfMatch
-
curChar
protected int curChar
-
-
Constructor Detail
-
GeneratedJavaParserTokenManager
public GeneratedJavaParserTokenManager(SimpleCharStream stream)
Constructor.
-
GeneratedJavaParserTokenManager
public GeneratedJavaParserTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
reset
void reset()
-
getTokens
java.util.List<JavaToken> getTokens()
-
getCommentsCollection
CommentsCollection getCommentsCollection()
-
getHomeToken
JavaToken getHomeToken()
-
setStoreTokens
public void setStoreTokens(boolean storeTokens)
-
setYieldSupported
public void setYieldSupported()
-
CommonTokenAction
private void CommonTokenAction(Token token)
-
setDebugStream
public void setDebugStream(java.io.PrintStream ds)
Set debug output.
-
jjStopStringLiteralDfa_0
private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2)
-
jjStartNfa_0
private final int jjStartNfa_0(int pos, long active0, long active1, long active2)
-
jjStopAtPos
private int jjStopAtPos(int pos, int kind)
-
jjMoveStringLiteralDfa0_0
private int jjMoveStringLiteralDfa0_0()
-
jjMoveStringLiteralDfa1_0
private int jjMoveStringLiteralDfa1_0(long active0, long active1, long active2)
-
jjMoveStringLiteralDfa2_0
private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1, long old2, long active2)
-
jjMoveStringLiteralDfa3_0
private int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1, long old2, long active2)
-
jjMoveStringLiteralDfa4_0
private int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1, long old2, long active2)
-
jjMoveStringLiteralDfa5_0
private int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1)
-
jjMoveStringLiteralDfa6_0
private int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1)
-
jjMoveStringLiteralDfa7_0
private int jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, long active1)
-
jjMoveStringLiteralDfa8_0
private int jjMoveStringLiteralDfa8_0(long old0, long active0, long old1, long active1)
-
jjMoveStringLiteralDfa9_0
private int jjMoveStringLiteralDfa9_0(long old0, long active0, long old1, long active1)
-
jjMoveStringLiteralDfa10_0
private int jjMoveStringLiteralDfa10_0(long old0, long active0, long old1, long active1)
-
jjMoveStringLiteralDfa11_0
private int jjMoveStringLiteralDfa11_0(long old0, long active0)
-
jjStartNfaWithStates_0
private int jjStartNfaWithStates_0(int pos, int kind, int state)
-
jjMoveNfa_0
private int jjMoveNfa_0(int startState, int curPos)
-
jjMoveStringLiteralDfa0_2
private int jjMoveStringLiteralDfa0_2()
-
jjMoveStringLiteralDfa1_2
private int jjMoveStringLiteralDfa1_2(long active0)
-
jjStopStringLiteralDfa_3
private final int jjStopStringLiteralDfa_3(int pos, long active0, long active1)
-
jjStartNfa_3
private final int jjStartNfa_3(int pos, long active0, long active1)
-
jjMoveStringLiteralDfa0_3
private int jjMoveStringLiteralDfa0_3()
-
jjMoveStringLiteralDfa1_3
private int jjMoveStringLiteralDfa1_3(long active1)
-
jjMoveStringLiteralDfa2_3
private int jjMoveStringLiteralDfa2_3(long old1, long active1)
-
jjMoveNfa_3
private int jjMoveNfa_3(int startState, int curPos)
-
jjMoveStringLiteralDfa0_1
private int jjMoveStringLiteralDfa0_1()
-
jjMoveStringLiteralDfa1_1
private int jjMoveStringLiteralDfa1_1(long active0)
-
jjFillToken
protected Token jjFillToken()
-
jjCanMove_0
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
-
jjCanMove_1
private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
-
jjCanMove_2
private static final boolean jjCanMove_2(int hiByte, int i1, int i2, long l1, long l2)
-
jjCanMove_3
private static final boolean jjCanMove_3(int hiByte, int i1, int i2, long l1, long l2)
-
getNextToken
public Token getNextToken()
Get the next Token.
-
SkipLexicalActions
void SkipLexicalActions(Token matchedToken)
-
MoreLexicalActions
void MoreLexicalActions()
-
TokenLexicalActions
void TokenLexicalActions(Token matchedToken)
-
jjCheckNAdd
private void jjCheckNAdd(int state)
-
jjAddStates
private void jjAddStates(int start, int end)
-
jjCheckNAddTwoStates
private void jjCheckNAddTwoStates(int state1, int state2)
-
jjCheckNAddStates
private void jjCheckNAddStates(int start, int end)
-
ReInit
public void ReInit(SimpleCharStream stream)
Reinitialise parser.
-
ReInitRounds
private void ReInitRounds()
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Switch to specified lex state.
-
-