sota.lang.java.ast.parser
Class JavaParserTokenManager

java.lang.Object
  extended by sota.lang.java.ast.parser.JavaParserTokenManager
All Implemented Interfaces:
JavaParserConstants

public class JavaParserTokenManager
extends java.lang.Object
implements JavaParserConstants


Field Summary
protected  char curChar
           
(package private)  int curLexState
           
 java.io.PrintStream debugStream
           
(package private)  int defaultLexState
           
(package private)  java.lang.StringBuffer image
           
protected  SimpleCharStream input_stream
           
(package private) static long[] jjbitVec0
           
(package private) static long[] jjbitVec2
           
(package private) static long[] jjbitVec3
           
(package private) static long[] jjbitVec4
           
(package private) static long[] jjbitVec5
           
(package private) static long[] jjbitVec6
           
(package private) static long[] jjbitVec7
           
(package private) static long[] jjbitVec8
           
(package private)  int jjimageLen
           
(package private)  int jjmatchedKind
           
(package private)  int jjmatchedPos
           
static int[] jjnewLexState
           
(package private)  int jjnewStateCnt
           
(package private) static int[] jjnextStates
           
(package private)  int jjround
           
private  int[] jjrounds
           
private  int[] jjstateSet
           
static java.lang.String[] jjstrLiteralImages
           
(package private) static long[] jjtoMore
           
(package private) static long[] jjtoSkip
           
(package private) static long[] jjtoSpecial
           
(package private) static long[] jjtoToken
           
(package private)  int lengthOfMatch
           
static java.lang.String[] lexStateNames
           
 
Fields inherited from interface sota.lang.java.ast.parser.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_LITERAL, DECR, DEFAULT, DIGIT, DO, DOT, DOUBLE, ELLIPSIS, ELSE, ENUM, EOF, EQ, EXPONENT, EXTENDS, FALSE, FINAL, FINALLY, FLOAT, FLOATING_POINT_LITERAL, FOR, FORMAL_COMMENT, GE, GOTO, GT, HEX_LITERAL, HOOK, IDENTIFIER, IF, IMPLEMENTS, IMPORT, IN_FORMAL_COMMENT, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, INCR, INSTANCEOF, INT, INTEGER_LITERAL, INTERFACE, LBRACE, LBRACKET, LE, LETTER, LONG, LONG_LITERAL, LPAREN, LSHIFT, LSHIFTASSIGN, LT, MINUS, MINUSASSIGN, MULTI_LINE_COMMENT, NATIVE, NE, NEW, NULL, OCTAL_LITERAL, ORASSIGN, PACKAGE, 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, SUPER, SWITCH, SYNCHRONIZED, THIS, THROW, THROWS, TILDE, tokenImage, TRANSIENT, TRUE, TRY, VOID, VOLATILE, WHILE, XOR, XORASSIGN
 
Constructor Summary
JavaParserTokenManager(SimpleCharStream stream)
           
JavaParserTokenManager(SimpleCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
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  void jjCheckNAdd(int state)
           
private  void jjCheckNAddStates(int start)
           
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_1(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)
           
private  int jjMoveStringLiteralDfa1_2(long active0)
           
private  int jjMoveStringLiteralDfa1_3(long active0)
           
private  int jjMoveStringLiteralDfa10_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa11_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1)
           
private  int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1)
           
private  int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1)
           
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)
           
private  int jjStartNfa_0(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)
           
(package private)  void MoreLexicalActions()
           
 void ReInit(SimpleCharStream stream)
           
 void ReInit(SimpleCharStream stream, int lexState)
           
private  void ReInitRounds()
           
 void setDebugStream(java.io.PrintStream ds)
           
(package private)  void SkipLexicalActions(Token matchedToken)
           
 void SwitchTo(int lexState)
           
(package private)  void TokenLexicalActions(Token matchedToken)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

curChar

protected char curChar

curLexState

int curLexState

debugStream

public java.io.PrintStream debugStream

defaultLexState

int defaultLexState

image

java.lang.StringBuffer image

input_stream

protected SimpleCharStream input_stream

jjbitVec0

static final long[] jjbitVec0

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

jjbitVec7

static final long[] jjbitVec7

jjbitVec8

static final long[] jjbitVec8

jjimageLen

int jjimageLen

jjmatchedKind

int jjmatchedKind

jjmatchedPos

int jjmatchedPos

jjnewLexState

public static final int[] jjnewLexState

jjnewStateCnt

int jjnewStateCnt

jjnextStates

static final int[] jjnextStates

jjround

int jjround

jjrounds

private final int[] jjrounds

jjstateSet

private final int[] jjstateSet

jjstrLiteralImages

public static final java.lang.String[] jjstrLiteralImages

jjtoMore

static final long[] jjtoMore

jjtoSkip

static final long[] jjtoSkip

jjtoSpecial

static final long[] jjtoSpecial

jjtoToken

static final long[] jjtoToken

lengthOfMatch

int lengthOfMatch

lexStateNames

public static final java.lang.String[] lexStateNames
Constructor Detail

JavaParserTokenManager

public JavaParserTokenManager(SimpleCharStream stream)

JavaParserTokenManager

public JavaParserTokenManager(SimpleCharStream stream,
                              int lexState)
Method Detail

getNextToken

public Token getNextToken()

jjAddStates

private final void jjAddStates(int start,
                               int end)

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)

jjCheckNAdd

private final void jjCheckNAdd(int state)

jjCheckNAddStates

private final void jjCheckNAddStates(int start)

jjCheckNAddStates

private final void jjCheckNAddStates(int start,
                                     int end)

jjCheckNAddTwoStates

private final void jjCheckNAddTwoStates(int state1,
                                        int state2)

jjFillToken

protected Token jjFillToken()

jjMoveNfa_0

private final int jjMoveNfa_0(int startState,
                              int curPos)

jjMoveNfa_1

private final int jjMoveNfa_1(int startState,
                              int curPos)

jjMoveStringLiteralDfa0_0

private final int jjMoveStringLiteralDfa0_0()

jjMoveStringLiteralDfa0_1

private final int jjMoveStringLiteralDfa0_1()

jjMoveStringLiteralDfa0_2

private final int jjMoveStringLiteralDfa0_2()

jjMoveStringLiteralDfa0_3

private final int jjMoveStringLiteralDfa0_3()

jjMoveStringLiteralDfa1_0

private final int jjMoveStringLiteralDfa1_0(long active0,
                                            long active1)

jjMoveStringLiteralDfa1_2

private final int jjMoveStringLiteralDfa1_2(long active0)

jjMoveStringLiteralDfa1_3

private final int jjMoveStringLiteralDfa1_3(long active0)

jjMoveStringLiteralDfa10_0

private final int jjMoveStringLiteralDfa10_0(long old0,
                                             long active0)

jjMoveStringLiteralDfa11_0

private final int jjMoveStringLiteralDfa11_0(long old0,
                                             long active0)

jjMoveStringLiteralDfa2_0

private final int jjMoveStringLiteralDfa2_0(long old0,
                                            long active0,
                                            long old1,
                                            long active1)

jjMoveStringLiteralDfa3_0

private final int jjMoveStringLiteralDfa3_0(long old0,
                                            long active0,
                                            long old1,
                                            long active1)

jjMoveStringLiteralDfa4_0

private final int jjMoveStringLiteralDfa4_0(long old0,
                                            long active0,
                                            long old1,
                                            long active1)

jjMoveStringLiteralDfa5_0

private final int jjMoveStringLiteralDfa5_0(long old0,
                                            long active0,
                                            long old1,
                                            long active1)

jjMoveStringLiteralDfa6_0

private final int jjMoveStringLiteralDfa6_0(long old0,
                                            long active0,
                                            long old1,
                                            long active1)

jjMoveStringLiteralDfa7_0

private final int jjMoveStringLiteralDfa7_0(long old0,
                                            long active0,
                                            long old1,
                                            long active1)

jjMoveStringLiteralDfa8_0

private final int jjMoveStringLiteralDfa8_0(long old0,
                                            long active0,
                                            long old1,
                                            long active1)

jjMoveStringLiteralDfa9_0

private final int jjMoveStringLiteralDfa9_0(long old0,
                                            long active0)

jjStartNfa_0

private final int jjStartNfa_0(int pos,
                               long active0,
                               long active1)

jjStartNfaWithStates_0

private final int jjStartNfaWithStates_0(int pos,
                                         int kind,
                                         int state)

jjStopAtPos

private final int jjStopAtPos(int pos,
                              int kind)

jjStopStringLiteralDfa_0

private final int jjStopStringLiteralDfa_0(int pos,
                                           long active0,
                                           long active1)

MoreLexicalActions

void MoreLexicalActions()

ReInit

public void ReInit(SimpleCharStream stream)

ReInit

public void ReInit(SimpleCharStream stream,
                   int lexState)

ReInitRounds

private final void ReInitRounds()

setDebugStream

public void setDebugStream(java.io.PrintStream ds)

SkipLexicalActions

void SkipLexicalActions(Token matchedToken)

SwitchTo

public void SwitchTo(int lexState)

TokenLexicalActions

void TokenLexicalActions(Token matchedToken)