uk.ac.ucl.cs.emofocl.ocl.parser
Class OCL2ParserTokenManager

java.lang.Object
  extended by uk.ac.ucl.cs.emofocl.ocl.parser.OCL2ParserTokenManager
All Implemented Interfaces:
OCL2ParserConstants

public class OCL2ParserTokenManager
extends Object
implements OCL2ParserConstants


Field Summary
protected  char curChar
           
 PrintStream debugStream
           
static int[] jjnewLexState
           
static String[] jjstrLiteralImages
           
static String[] lexStateNames
           
 
Fields inherited from interface uk.ac.ucl.cs.emofocl.ocl.parser.OCL2ParserConstants
AND, ANY, ARROW, AT_PRE, BAG, BOOLEAN, COLLECT, COLLECT_NESTED, COLLECTION, COLON, COLON_COLON, COMMA, DEFAULT, DIVIDE, DOT, DOT_DOT, DOUBLE_QUOTE, DREAL, ELSE, ENDIF, EOF, EQUALS, EXISTS, FOR_ALL, FPREAL, GREATER_THAN, GREATER_THAN_EQUALS, IF, IMPLIES, IN, INT, INTEGER, INVALID, IS_UNIQUE, ITERATE, LB, LESS_THAN, LESS_THAN_EQUALS, LET, LINE_COMMENT, LP, MINUS, NAME, NOT, NULL, OCL_ANY, OCL_AS_TYPE, OCL_INVALID, OCL_IS_KIND_OF, OCL_IS_TYPE_OF, OCL_MESSAGE, OCL_VOID, ONE, OR, ORDERED_SET, PARA_COMMENT, PLUS, RB, REAL, REJECT, RP, SELECT, SEMI_COLON, SEQUENCE, SET, SORTED_BY, STRIKE, STRING, THEN, TIMES, tokenImage, TUPLE, UNEQUALS, WS, XOR
 
Constructor Summary
OCL2ParserTokenManager(SimpleCharStream stream)
           
OCL2ParserTokenManager(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
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

jjnewLexState

public static final int[] jjnewLexState

curChar

protected char curChar
Constructor Detail

OCL2ParserTokenManager

public OCL2ParserTokenManager(SimpleCharStream stream)

OCL2ParserTokenManager

public OCL2ParserTokenManager(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 final Token getNextToken()