org.eigenbase.lurql.parser
Class LurqlParserTokenManager

java.lang.Object
  extended by org.eigenbase.lurql.parser.LurqlParserTokenManager
All Implemented Interfaces:
LurqlParserConstants

public class LurqlParserTokenManager
extends Object
implements LurqlParserConstants


Field Summary
protected  char curChar
           
(package private)  int curLexState
           
 PrintStream debugStream
           
(package private)  int defaultLexState
           
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 jjmatchedKind
           
(package private)  int jjmatchedPos
           
(package private)  int jjnewStateCnt
           
(package private) static int[] jjnextStates
           
(package private)  int jjround
           
private  int[] jjrounds
           
private  int[] jjstateSet
           
static String[] jjstrLiteralImages
           
(package private) static long[] jjtoSkip
           
(package private) static long[] jjtoToken
           
static String[] lexStateNames
           
 
Fields inherited from interface org.eigenbase.lurql.parser.LurqlParserConstants
AND, AS, ASSOCIATION, BACKWARD, CLASS, COMMA, COMPOSITE, D_QUOTED_STRING, DEFAULT, DESTINATION, DIGIT, DQUOTE, END, EOF, EQUALS, EXISTS, FOLLOW, FORWARD, FROM, GATHER, IDENTIFIER, IN, LETTER, LPAREN, LSQUARE, MATCHES, NONCOMPOSITE, NOT, NULL, ORIGIN, PARENT, QMARK, RECURSIVELY, RPAREN, RSQUARE, S_QUOTED_STRING, SELECT, SEMICOLON, SQL_QUERY, SQUOTE, STAR, THEN, tokenImage, UNION, WHERE, WITH
 
Constructor Summary
LurqlParserTokenManager(SimpleCharStream stream)
           
LurqlParserTokenManager(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 jjMoveStringLiteralDfa0_0()
           
private  int jjMoveStringLiteralDfa1_0(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)
           
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 jjMoveStringLiteralDfa8_0(long old0, long active0)
           
private  int jjMoveStringLiteralDfa9_0(long old0, long active0)
           
private  int jjStartNfa_0(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)
           
 void ReInit(SimpleCharStream stream)
           
 void ReInit(SimpleCharStream stream, int lexState)
           
private  void ReInitRounds()
           
 void setDebugStream(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 PrintStream debugStream

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

jjnextStates

static final int[] jjnextStates

jjstrLiteralImages

public static final String[] jjstrLiteralImages

lexStateNames

public static final String[] lexStateNames

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

LurqlParserTokenManager

public LurqlParserTokenManager(SimpleCharStream stream)

LurqlParserTokenManager

public LurqlParserTokenManager(SimpleCharStream stream,
                               int lexState)
Method Detail

setDebugStream

public void setDebugStream(PrintStream ds)

jjStopStringLiteralDfa_0

private final int jjStopStringLiteralDfa_0(int pos,
                                           long active0)

jjStartNfa_0

private final int jjStartNfa_0(int pos,
                               long active0)

jjStopAtPos

private final int jjStopAtPos(int pos,
                              int kind)

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)

jjMoveStringLiteralDfa8_0

private final int jjMoveStringLiteralDfa8_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa9_0

private final int jjMoveStringLiteralDfa9_0(long old0,
                                            long active0)

jjMoveStringLiteralDfa10_0

private final int jjMoveStringLiteralDfa10_0(long old0,
                                             long active0)

jjMoveStringLiteralDfa11_0

private final int jjMoveStringLiteralDfa11_0(long old0,
                                             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)

jjCheckNAddStates

private final void jjCheckNAddStates(int start)

jjMoveNfa_0

private final int jjMoveNfa_0(int startState,
                              int curPos)

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)

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()