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

## org.apache.cayenne.exp.parser
Class ExpressionParserTokenManager

    java.lang.Object
      org.apache.cayenne.exp.parser.ExpressionParserTokenManager

All Implemented Interfaces:
  ExpressionParserConstants

    public class ExpressionParserTokenManager

extends Object
implements ExpressionParserConstants

Token Manager.

Field Summary
`protected char` | `curChar`
`PrintStream` | `debugStream` Debug output.
`protected JavaCharStream` | `input_stream`
`static int[]` | `jjnewLexState` Lex State array.
`static String[]` | `jjstrLiteralImages` Token literal values.
`static String[]` | `lexStateNames` Lexer state names.

Fields inherited from interface org.apache.cayenne.exp.parser.ExpressionParserConstants
`DEC_DIGITS, DEC_FLT, DEFAULT, DIGIT, DOUBLE_QUOTED_STRING, EOF, ESC, EXPONENT, FALSE, FLOAT_LITERAL, FLT_SUFF, IDENTIFIER, INT_LITERAL, LETTER, NULL, PROPERTY_PATH, SINGLE_QUOTED_STRING, STRING_ESC, tokenImage, TRUE, WithinDoubleQuoteLiteral, WithinSingleQuoteLiteral`

Constructor Summary
`ExpressionParserTokenManager(JavaCharStream stream)` Constructor.
`ExpressionParserTokenManager(JavaCharStream stream, int lexState)` Constructor.

Method Summary
`Token` | `getNextToken()` Get the next Token.
`protected Token` | `jjFillToken()`
`void` | `ReInit(JavaCharStream stream)` Reinitialise parser.
`void` | `ReInit(JavaCharStream 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.

### jjstrLiteralImages

    public static final String[] jjstrLiteralImages

  Token literal values.

### lexStateNames

    public static final String[] lexStateNames

  Lexer state names.

### jjnewLexState

    public static final int[] jjnewLexState

  Lex State array.

### input_stream

    protected JavaCharStream input_stream

### curChar

    protected char curChar

Constructor Detail

### ExpressionParserTokenManager

    public ExpressionParserTokenManager(JavaCharStream stream)

  Constructor.

### ExpressionParserTokenManager

    public ExpressionParserTokenManager(JavaCharStream stream,
                                        int lexState)

  Constructor.

Method Detail

### setDebugStream

    public void setDebugStream(PrintStream ds)

  Set debug output.

### ReInit

    public void ReInit(JavaCharStream stream)

  Reinitialise parser.

### ReInit

    public void ReInit(JavaCharStream 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

Copyright © 2001-2013 Apache Cayenne. All Rights Reserved.