Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.dropboxmq.messageselector
Class ParserTokenManager

    java.lang.Object
      net.sf.dropboxmq.messageselector.ParserTokenManager

All Implemented Interfaces:
  ParserConstants

    public class ParserTokenManager

extends Object
implements ParserConstants

Token Manager.

Field Summary
`protected char` | `curChar`
`(package private) int` | `curLexState`
`PrintStream` | `debugStream` Debug output.
`(package private) int` | `defaultLexState`
`protected SimpleCharStream` | `input_stream`
`(package private) static long[]` | `jjbitVec0`
`(package private) static long[]` | `jjbitVec2`
`(package private) int` | `jjmatchedKind`
`(package private) int` | `jjmatchedPos`
`(package private) int` | `jjnewStateCnt`
`(package private) static int[]` | `jjnextStates`
`(package private) int` | `jjround`
`static String[]` | `jjstrLiteralImages` Token literal values.
`(package private) static long[]` | `jjtoSkip`
`(package private) static long[]` | `jjtoToken`
`static String[]` | `lexStateNames` Lexer state names.

Fields inherited from interface net.sf.dropboxmq.messageselector.ParserConstants
`AND, BETWEEN, BLOCK_COMMENT, DASH_COMMENT, DECIMAL, DEFAULT, DIGIT, EOF, ESCAPE, EXPONENT, FALSE, FLOAT_SUFFIX, FLOATING_POINT, HEX, IDENTIFIER, IN, INTEGER, IS, LETTER, LIKE, LINE_COMMENT, NEWLINE, NOT, NULL, OCTAL, OR, RETURN, SIGN, SPACE, STRING, TAB, tokenImage, TRUE`

Constructor Summary
`ParserTokenManager(SimpleCharStream stream)` Constructor.
`ParserTokenManager(SimpleCharStream stream, int lexState)` Constructor.

Method Summary
`Token` | `getNextToken()` Get the next Token.
`protected Token` | `jjFillToken()`
`void` | `ReInit(SimpleCharStream stream)` Reinitialise parser.
`void` | `ReInit(SimpleCharStream stream, int lexState)` Reinitialise parser.
`void` | `setDebugStream(PrintStream ds)` Set debug output.
`void` | `SwitchTo(int lexState)` Switch to specified lex state.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### debugStream

    public PrintStream debugStream

  Debug output.

### jjbitVec0

    static final long[] jjbitVec0

### jjbitVec2

    static final long[] jjbitVec2

### jjnextStates

    static final int[] jjnextStates

### jjstrLiteralImages

    public static final String[] jjstrLiteralImages

  Token literal values.

### lexStateNames

    public static final String[] lexStateNames

  Lexer state names.

### jjtoToken

    static final long[] jjtoToken

### jjtoSkip

    static final long[] jjtoSkip

### input_stream

    protected SimpleCharStream input_stream

### curChar

    protected char curChar

### curLexState

    int curLexState

### defaultLexState

    int defaultLexState

### jjnewStateCnt

    int jjnewStateCnt

### jjround

    int jjround

### jjmatchedPos

    int jjmatchedPos

### jjmatchedKind

    int jjmatchedKind

Constructor Detail

### ParserTokenManager

    public ParserTokenManager(SimpleCharStream stream)

  Constructor.

### ParserTokenManager

    public ParserTokenManager(SimpleCharStream stream,
                              int lexState)

  Constructor.

Method Detail

### setDebugStream

    public void setDebugStream(PrintStream ds)

  Set debug output.

### ReInit

    public void ReInit(SimpleCharStream stream)

  Reinitialise parser.

### ReInit

    public void ReInit(SimpleCharStream stream,
                       int lexState)

  Reinitialise parser.

### SwitchTo

    public void SwitchTo(int lexState)

  Switch to specified lex state.

### jjFillToken

    protected Token jjFillToken()

### getNextToken

    public Token getNextToken()

  Get the next Token.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD