org.springmodules.validation.valang.parser
Class ValangParserTokenManager

java.lang.Object
  extended by org.springmodules.validation.valang.parser.ValangParserTokenManager
All Implemented Interfaces:
ValangParserConstants

public class ValangParserTokenManager
extends Object
implements ValangParserConstants

Token Manager.


Field Summary
protected  char curChar
           
 PrintStream debugStream
          Debug output.
protected  SimpleCharStream input_stream
           
static String[] jjstrLiteralImages
          Token literal values.
static String[] lexStateNames
          Lexer state names.
 
Fields inherited from interface org.springmodules.validation.valang.parser.ValangParserConstants
ADD, AND, BETWEEN, DATE, DEFAULT, DIGIT, DIVIDE, DOT, ENUM, EOF, EQUALS, FALSE, FUNCTION_NAME, GREATER_THAN, GREATER_THAN_OR_EQUAL, HAS_LENGTH, HAS_NO_LENGTH, HAS_NO_TEXT, HAS_TEXT, IN, INDEXED_PATH_ELEMENT, IS_BLANK, IS_LOWER_CASE, IS_NOT_BLANK, IS_NOT_LOWER_CASE, IS_NOT_NULL, IS_NOT_UPPER_CASE, IS_NOT_WORD, IS_NULL, IS_UPPER_CASE, IS_WORD, LESS_THAN, LESS_THAN_OR_EQUAL, LOWERLETTER, MOD, MULTIPLY, NOT, NOT_BETWEEN, NOT_EQUAL, NOT_IN, NUM, OR, PATH, PLAIN_PATH_ELEMENT, POSITIVE_INTEGER, STRING, SUBTRACT, tokenImage, TRUE, UNDERSCORE, UPPERLETTER, WHERE
 
Constructor Summary
ValangParserTokenManager(SimpleCharStream stream)
          Constructor.
ValangParserTokenManager(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.


jjstrLiteralImages

public static final String[] jjstrLiteralImages
Token literal values.


lexStateNames

public static final String[] lexStateNames
Lexer state names.


input_stream

protected SimpleCharStream input_stream

curChar

protected char curChar
Constructor Detail

ValangParserTokenManager

public ValangParserTokenManager(SimpleCharStream stream)
Constructor.


ValangParserTokenManager

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



Copyright © 2009. All Rights Reserved.