ptolemy.data.expr
Class PtParserTokenManager

java.lang.Object
  extended by ptolemy.data.expr.PtParserTokenManager
All Implemented Interfaces:
PtParserConstants

public class PtParserTokenManager
extends java.lang.Object
implements PtParserConstants


Field Summary
protected  char curChar
           
(package private)  int curLexState
           
 java.io.PrintStream debugStream
           
(package private)  int defaultLexState
           
protected  SimpleCharStream input_stream
           
(package private) static long[] jjbitVec0
           
(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[] jjtoSkip
           
(package private) static long[] jjtoToken
           
static java.lang.String[] lexStateNames
           
 
Fields inherited from interface ptolemy.data.expr.PtParserConstants
AND, BITWISE_NOT, BOOL_NOT, BOOLEAN, CLOSEBRACE, CLOSEBRACKET, CLOSEPAREN, CLOSEUNION, COLON, COMMA, COMPLEX, COND_AND, COND_OR, DECIMAL_LITERAL, DEFAULT, DIVIDE, DOUBLE, EOF, EQUALS, ERROR, EXPONENT, FUNCTION, GT, GTE, HEX_LITERAL, ID, INTEGER, INTEGER_FORMAT_SPEC, LETTER, LSHR, LT, LTE, MINUS, MODULO, MULTI_LINE_COMMENT, MultiLineCommentMode, MULTIPLY, NOTEQUALS, OCTAL_LITERAL, OPENBRACE, OPENBRACKET, OPENPAREN, OPENUNION, OR, PERIOD, PLUS, POWER, QUESTION, SEPARATOR, SETEQUALS, SHL, SHR, SINGLE_LINE_COMMENT, SingleLineCommentMode, SMBRACE, SMDOLLAR, SMDOLLARBRACE, SMDOLLARPAREN, SMID, SMIDBRACE, SMIDPAREN, SMLETTER, SMPAREN, SMSTRING, STRING, StringMode, StringModeIDBrace, StringModeIDNone, StringModeIDParen, tokenImage, XOR
 
Constructor Summary
PtParserTokenManager(SimpleCharStream stream)
           
PtParserTokenManager(SimpleCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
private  void jjAddStates(int start, int end)
           
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_1(int startState, int curPos)
           
private  int jjMoveNfa_3(int startState, int curPos)
           
private  int jjMoveNfa_4(int startState, int curPos)
           
private  int jjMoveNfa_5(int startState, int curPos)
           
private  int jjMoveNfa_6(int startState, int curPos)
           
private  int jjMoveStringLiteralDfa0_0()
           
private  int jjMoveStringLiteralDfa0_1()
           
private  int jjMoveStringLiteralDfa0_2()
           
private  int jjMoveStringLiteralDfa0_3()
           
private  int jjMoveStringLiteralDfa0_4()
           
private  int jjMoveStringLiteralDfa0_5()
           
private  int jjMoveStringLiteralDfa0_6()
           
private  int jjMoveStringLiteralDfa1_0(long active0)
           
private  int jjMoveStringLiteralDfa1_2(long active0)
           
private  int jjMoveStringLiteralDfa1_5(long active0)
           
private  int jjMoveStringLiteralDfa2_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa3_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa4_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa5_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa6_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa7_0(long old0, long active0)
           
private  int jjStartNfa_0(int pos, long active0)
           
private  int jjStartNfa_5(int pos, long active0)
           
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)
           
private  int jjStopStringLiteralDfa_5(int pos, long active0)
           
 void ReInit(SimpleCharStream stream)
           
 void ReInit(SimpleCharStream stream, int lexState)
           
private  void ReInitRounds()
           
 void setDebugStream(java.io.PrintStream ds)
           
 void SwitchTo(int lexState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugStream

public java.io.PrintStream debugStream

jjbitVec0

static final long[] jjbitVec0

jjnextStates

static final int[] jjnextStates

jjstrLiteralImages

public static final java.lang.String[] jjstrLiteralImages

lexStateNames

public static final java.lang.String[] lexStateNames

jjnewLexState

public static final int[] jjnewLexState

jjtoToken

static final long[] jjtoToken

jjtoSkip

static final long[] jjtoSkip

input_stream

protected SimpleCharStream input_stream

jjrounds

private final int[] jjrounds

jjstateSet

private final int[] jjstateSet

curChar

protected char curChar

curLexState

int curLexState

defaultLexState

int defaultLexState

jjnewStateCnt

int jjnewStateCnt

jjround

int jjround

jjmatchedPos

int jjmatchedPos

jjmatchedKind

int jjmatchedKind
Constructor Detail

PtParserTokenManager

public PtParserTokenManager(SimpleCharStream stream)

PtParserTokenManager

public PtParserTokenManager(SimpleCharStream stream,
                            int lexState)
Method Detail

setDebugStream

public void setDebugStream(java.io.PrintStream ds)

jjStopStringLiteralDfa_5

private final int jjStopStringLiteralDfa_5(int pos,
                                           long active0)

jjStartNfa_5

private final int jjStartNfa_5(int pos,
                               long active0)

jjStopAtPos

private final int jjStopAtPos(int pos,
                              int kind)

jjMoveStringLiteralDfa0_5

private final int jjMoveStringLiteralDfa0_5()

jjMoveStringLiteralDfa1_5

private final int jjMoveStringLiteralDfa1_5(long active0)

jjCheckNAdd

private final void jjCheckNAdd(int state)

jjAddStates

private final void jjAddStates(int start,
                               int end)

jjCheckNAddTwoStates

private final void jjCheckNAddTwoStates(int state1,
                                        int state2)

jjCheckNAddStates

private final void jjCheckNAddStates(int start,
                                     int end)

jjMoveNfa_5

private final int jjMoveNfa_5(int startState,
                              int curPos)

jjStopStringLiteralDfa_0

private final int jjStopStringLiteralDfa_0(int pos,
                                           long active0)

jjStartNfa_0

private final int jjStartNfa_0(int pos,
                               long active0)

jjStartNfaWithStates_0

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

jjMoveStringLiteralDfa0_0

private final int jjMoveStringLiteralDfa0_0()

jjMoveStringLiteralDfa1_0

private final int jjMoveStringLiteralDfa1_0(long active0)

jjMoveStringLiteralDfa2_0

private final int jjMoveStringLiteralDfa2_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa3_0

private final int jjMoveStringLiteralDfa3_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa4_0

private final int jjMoveStringLiteralDfa4_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa5_0

private final int jjMoveStringLiteralDfa5_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa6_0

private final int jjMoveStringLiteralDfa6_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa7_0

private final int jjMoveStringLiteralDfa7_0(long old0,
                                            long active0)

jjMoveNfa_0

private final int jjMoveNfa_0(int startState,
                              int curPos)

jjMoveStringLiteralDfa0_3

private final int jjMoveStringLiteralDfa0_3()

jjMoveNfa_3

private final int jjMoveNfa_3(int startState,
                              int curPos)

jjMoveStringLiteralDfa0_2

private final int jjMoveStringLiteralDfa0_2()

jjMoveStringLiteralDfa1_2

private final int jjMoveStringLiteralDfa1_2(long active0)

jjMoveStringLiteralDfa0_6

private final int jjMoveStringLiteralDfa0_6()

jjMoveNfa_6

private final int jjMoveNfa_6(int startState,
                              int curPos)

jjMoveStringLiteralDfa0_1

private final int jjMoveStringLiteralDfa0_1()

jjMoveNfa_1

private final int jjMoveNfa_1(int startState,
                              int curPos)

jjMoveStringLiteralDfa0_4

private final int jjMoveStringLiteralDfa0_4()

jjMoveNfa_4

private final int jjMoveNfa_4(int startState,
                              int curPos)

ReInit

public void ReInit(SimpleCharStream stream)

ReInitRounds

private final void ReInitRounds()

ReInit

public void ReInit(SimpleCharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()