com.pmdesigns.jvc.tools
Class JVCParserTokenManager

java.lang.Object
  extended by com.pmdesigns.jvc.tools.JVCParserTokenManager
All Implemented Interfaces:
JVCParserConstants

public class JVCParserTokenManager
extends java.lang.Object
implements JVCParserConstants

Token Manager.


Field Summary
protected  char curChar
           
 java.io.PrintStream debugStream
          Debug output.
protected  SimpleCharStream input_stream
           
static int[] jjnewLexState
          Lex State array.
static java.lang.String[] jjstrLiteralImages
          Token literal values.
static java.lang.String[] lexStateNames
          Lexer state names.
 
Fields inherited from interface com.pmdesigns.jvc.tools.JVCParserConstants
ALPHA, DEFAULT, DIGIT, END_CACHE_BLOCK, END_TAG, EOF, EOL, ESCAPED_CHAR, ID, IMPORT, IN_CODE, IN_COMMENT, IN_EXPR, IN_EXPR2, IN_LOAD, OTHER, START_CACHE_BLOCK, START_CODE_TAG, START_COMMENT_TAG, START_EXPR_TAG, START_EXPR2_TAG, START_LOAD_TAG, tokenImage, WS
 
Constructor Summary
JVCParserTokenManager(SimpleCharStream stream)
          Constructor.
JVCParserTokenManager(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(java.io.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 java.io.PrintStream debugStream
Debug output.


jjstrLiteralImages

public static final java.lang.String[] jjstrLiteralImages
Token literal values.


lexStateNames

public static final java.lang.String[] lexStateNames
Lexer state names.


jjnewLexState

public static final int[] jjnewLexState
Lex State array.


input_stream

protected SimpleCharStream input_stream

curChar

protected char curChar
Constructor Detail

JVCParserTokenManager

public JVCParserTokenManager(SimpleCharStream stream)
Constructor.


JVCParserTokenManager

public JVCParserTokenManager(SimpleCharStream stream,
                             int lexState)
Constructor.

Method Detail

setDebugStream

public void setDebugStream(java.io.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.