cz.cuni.amis.pogamut.shady
Class ShadyParserTokenManager

Package class diagram package ShadyParserTokenManager
java.lang.Object
  extended by cz.cuni.amis.pogamut.shady.ShadyParserTokenManager
All Implemented Interfaces:
ShadyParserConstants

public class ShadyParserTokenManager
extends Object
implements ShadyParserConstants

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 cz.cuni.amis.pogamut.shady.ShadyParserConstants
CHARACTER_LITERAL, DECIMAL_LITERAL, DEFAULT, EOF, EQ, EXPONENT, FLOATING_POINT_LITERAL, GE, GT, IDENTIFIER, LE, LETTER, LT, NE, PART_LETTER, STRING_LITERAL, tokenImage
 
Constructor Summary
ShadyParserTokenManager(SimpleCharStream stream)
          Constructor.
ShadyParserTokenManager(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

ShadyParserTokenManager

public ShadyParserTokenManager(SimpleCharStream stream)
Constructor.


ShadyParserTokenManager

public ShadyParserTokenManager(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 © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.