net.hydromatic.clapham.parser.bnf
Class BnfParserTokenManager

java.lang.Object
  extended by net.hydromatic.clapham.parser.bnf.BnfParserTokenManager
All Implemented Interfaces:
BnfParserConstants

public class BnfParserTokenManager
extends Object
implements BnfParserConstants

 

Field Summary
 PrintStream debugStream
           
static int[] jjnewLexState
           
static String[] jjstrLiteralImages
           
static String[] lexStateNames
           
 
Fields inherited from interface net.hydromatic.clapham.parser.bnf.BnfParserConstants
ASTERISK, BAR, BRACKETED_IDENTIFIER, COLCOLEQ, DEFAULT, DIGIT, EOF, HOOK, IDENTIFIER, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, LETTER, LITERAL, LPAREN, MULTI_LINE_COMMENT, PLUS, QUOT, RPAREN, SINGLE_LINE_COMMENT, tokenImage
 
Constructor Summary
BnfParserTokenManager(SimpleCharStream stream)
           
BnfParserTokenManager(SimpleCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
 void ReInit(SimpleCharStream stream)
           
 void ReInit(SimpleCharStream stream, int lexState)
           
 void setDebugStream(PrintStream ds)
           
 void SwitchTo(int lexState)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugStream

public PrintStream debugStream

jjstrLiteralImages

public static final String[] jjstrLiteralImages

lexStateNames

public static final String[] lexStateNames

jjnewLexState

public static final int[] jjnewLexState
Constructor Detail

BnfParserTokenManager

public BnfParserTokenManager(SimpleCharStream stream)

BnfParserTokenManager

public BnfParserTokenManager(SimpleCharStream stream,
                             int lexState)
Method Detail

setDebugStream

public void setDebugStream(PrintStream ds)

ReInit

public void ReInit(SimpleCharStream stream)

ReInit

public void ReInit(SimpleCharStream stream,
                   int lexState)

SwitchTo

public void SwitchTo(int lexState)

getNextToken

public Token getNextToken()

SourceForge.net_Logo