public class DLSyntaxParserTokenManager extends Object implements DLSyntaxParserConstants
Modifier and Type | Field and Description |
---|---|
PrintStream |
debugStream
Debug output.
|
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(uk.ac.manchester.cs.owlapi.dlsyntax.parser.JavaCharStream stream)
Constructor.
|
DLSyntaxParserTokenManager(uk.ac.manchester.cs.owlapi.dlsyntax.parser.JavaCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
void |
ReInit(uk.ac.manchester.cs.owlapi.dlsyntax.parser.JavaCharStream stream)
Reinitialise parser.
|
void |
ReInit(uk.ac.manchester.cs.owlapi.dlsyntax.parser.JavaCharStream 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
public DLSyntaxParserTokenManager(uk.ac.manchester.cs.owlapi.dlsyntax.parser.JavaCharStream stream)
stream
- the streampublic DLSyntaxParserTokenManager(uk.ac.manchester.cs.owlapi.dlsyntax.parser.JavaCharStream stream, int lexState)
stream
- the streamlexState
- the lex statepublic void setDebugStream(PrintStream ds)
ds
- the new debug streampublic void ReInit(uk.ac.manchester.cs.owlapi.dlsyntax.parser.JavaCharStream stream)
stream
- the streampublic void ReInit(uk.ac.manchester.cs.owlapi.dlsyntax.parser.JavaCharStream stream, int lexState)
stream
- the streamlexState
- the lex statepublic void SwitchTo(int lexState)
lexState
- the lex statepublic Token getNextToken()
Copyright © 2017 The University of Manchester. All Rights Reserved.