it.unimi.di.mg4j.query.parser
Class SimpleParserTokenManager

java.lang.Object
  extended by it.unimi.di.mg4j.query.parser.SimpleParserTokenManager
All Implemented Interfaces:
SimpleParserConstants

public class SimpleParserTokenManager
extends Object
implements SimpleParserConstants


Field Summary
protected  char curChar
           
 PrintStream debugStream
           
protected  SimpleCharStream input_stream
           
static String[] jjstrLiteralImages
           
static String[] lexStateNames
           
 
Fields inherited from interface it.unimi.di.mg4j.query.parser.SimpleParserConstants
ALIGN, AND, CLOSE_ENLARGE, CLOSE_PAREN, CLOSE_RANGE, CLOSE_REMAP, CLOSE_WEIGHT, COLON, DEFAULT, EOF, FALSE, HOLE, INTERVAL_SEPARATOR, MINUS, NOT, OAND, OPEN_ENLARGE, OPEN_PAREN, OPEN_RANGE, OPEN_REMAP, OPEN_WEIGHT, OR, PLUS, PREFIX, QUOTE, REMAP, SEMICOLON, SHARP, TILDA, tokenImage, TRUE, WORD
 
Constructor Summary
SimpleParserTokenManager(SimpleCharStream stream)
           
SimpleParserTokenManager(SimpleCharStream stream, int lexState)
           
 
Method Summary
 Token getNextToken()
           
protected  Token jjFillToken()
           
 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
clone, equals, finalize, 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

input_stream

protected SimpleCharStream input_stream

curChar

protected char curChar
Constructor Detail

SimpleParserTokenManager

public SimpleParserTokenManager(SimpleCharStream stream)

SimpleParserTokenManager

public SimpleParserTokenManager(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)

jjFillToken

protected Token jjFillToken()

getNextToken

public Token getNextToken()