public class DLSyntaxParserTokenManager extends Object implements DLSyntaxParserConstants
| Modifier and Type | Field and Description |
|---|---|
protected char |
curChar
The cur char.
|
PrintStream |
debugStream
Debug output.
|
protected BOMSafeJavaCharStream |
input_stream
The input_stream.
|
String[] |
jjstrLiteralImages
Token literal values.
|
static String[] |
lexStateNames
Lexer state names.
|
ALL, AND, CLOSEBRACE, CLOSEPAR, CLOSESQPAR, COLON, COMPOSE, DEFAULT, DOT, DOUBLE, EOF, EQUIVALENTTO, EXACT, ID, IN, INT, INVERSE, MAX, MIN, NEQ, NOT, OPENBRACE, OPENPAR, OPENSQPAR, OR, SOME, SUBCLASSOF, tokenImage, TRANSITIVEROLES| Constructor and Description |
|---|
DLSyntaxParserTokenManager(BOMSafeJavaCharStream stream)
Constructor.
|
DLSyntaxParserTokenManager(BOMSafeJavaCharStream stream,
int lexState)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
getNextToken()
Get the next Token.
|
protected Token |
jjFillToken()
Jj fill token.
|
void |
ReInit(BOMSafeJavaCharStream stream)
Reinitialise parser.
|
void |
ReInit(BOMSafeJavaCharStream stream,
int lexState)
Reinitialise parser.
|
void |
setDebugStream(PrintStream ds)
Set debug output.
|
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
public PrintStream debugStream
public final String[] jjstrLiteralImages
public static final String[] lexStateNames
protected BOMSafeJavaCharStream input_stream
protected char curChar
public DLSyntaxParserTokenManager(BOMSafeJavaCharStream stream)
stream - the streampublic DLSyntaxParserTokenManager(BOMSafeJavaCharStream stream, int lexState)
stream - the streamlexState - the lex statepublic void setDebugStream(PrintStream ds)
ds - the new debug streampublic void ReInit(BOMSafeJavaCharStream stream)
stream - the streampublic void ReInit(BOMSafeJavaCharStream stream, int lexState)
stream - the streamlexState - the lex statepublic void SwitchTo(int lexState)
lexState - the lex stateprotected Token jjFillToken()
public Token getNextToken()
Copyright © 2014 The University of Manchester. All Rights Reserved.