Package com.uppaal.model.io2
Class UGIReaderTokenManager
java.lang.Object
com.uppaal.model.io2.UGIReaderTokenManager
- All Implemented Interfaces:
UGIReaderConstants
public class UGIReaderTokenManager extends Object implements UGIReaderConstants
Token Manager.
-
Field Summary
Fields Modifier and Type Field Description 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 com.uppaal.model.io2.UGIReaderConstants
ASSIGN, BRANCHPOINT, CLPAR, COLOR, COMMA, DEFAULT, DOT, ECOLOR, EOF, EXPRATE, EXTERNALDECL, GLOBALDECL, GRAPHINFO, GUARD, ID, IMPORTS, INVARIANT, LCOLOR, LOCALDECL, LOCATION, LOCATIONNAME, NAT, OPPAR, PARAMLIST, PROBABILITY, PROCASSIGN, PROCESS, SELECT, SEMICOLON, SYNC, SYSTEMDEF, TEMPLATENAME, tokenImage, TRANS
-
Constructor Summary
Constructors Constructor Description UGIReaderTokenManager(SimpleCharStream stream)
Constructor.UGIReaderTokenManager(SimpleCharStream stream, int lexState)
Constructor. -
Method Summary
Modifier and Type Method Description 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.
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names. -
input_stream
-
curChar
protected char curChar
-
-
Constructor Details
-
UGIReaderTokenManager
Constructor. -
UGIReaderTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState)Switch to specified lex state. -
jjFillToken
-
getNextToken
Get the next Token.
-