org.apache.commons.ognl
Class OgnlParserTokenManager

java.lang.Object
  extended by org.apache.commons.ognl.OgnlParserTokenManager
All Implemented Interfaces:
OgnlParserConstants

public class OgnlParserTokenManager
extends Object
implements OgnlParserConstants

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.commons.ognl.OgnlParserConstants
BACK_CHAR_ESC, BACK_CHAR_LITERAL, CHAR_LITERAL, DEC_DIGITS, DEC_FLT, DEFAULT, DIGIT, DYNAMIC_SUBSCRIPT, EOF, ESC, EXPONENT, FLT_LITERAL, FLT_SUFF, IDENT, INT_LITERAL, LETTER, STRING_ESC, STRING_LITERAL, tokenImage, WithinBackCharLiteral, WithinCharLiteral, WithinStringLiteral
 
Constructor Summary
OgnlParserTokenManager(JavaCharStream stream)
          Constructor.
OgnlParserTokenManager(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

OgnlParserTokenManager

public OgnlParserTokenManager(JavaCharStream stream)
Constructor.


OgnlParserTokenManager

public OgnlParserTokenManager(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.



Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.