public class KRSSParserTokenManager extends Object implements KRSSParserConstants
Modifier and Type | Field and Description |
---|---|
PrintStream |
debugStream
Debug output.
|
static int[] |
jjnewLexState
Lex State array.
|
static String[] |
jjstrLiteralImages
Token literal values.
|
static String[] |
lexStateNames
Lexer state names.
|
ALL, AND, ATLEAST, ATMOST, CLOSEPAR, COMMENT_START, DEFAULT, DEFINECONCEPT, DEFINEPRIMITIVECONCEPT, DEFINEPRIMITIVEROLE, DISTINCT, ENDABOX, ENDTBOX, ENUM, EOF, EQUAL, EXACTLY, IN_COMMENT, IN_IRI, IN_STRING_LITERAL, INSTANCE, INT, IRI_END, IRI_START, NAME, NONE, NOT, OPENPAR, OR, PRIMITIVECONCEPT, RANGE, RELATED, SOME, STRING_LITERAL_START, STRINGLITERAL, SUBROLE, tokenImage, TRANSITIVE
Constructor and Description |
---|
KRSSParserTokenManager(org.coode.owl.krssparser.JavaCharStream stream)
Constructor.
|
KRSSParserTokenManager(org.coode.owl.krssparser.JavaCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
void |
ReInit(org.coode.owl.krssparser.JavaCharStream stream)
Reinitialise parser.
|
void |
ReInit(org.coode.owl.krssparser.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 static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
public KRSSParserTokenManager(org.coode.owl.krssparser.JavaCharStream stream)
stream
- the streampublic KRSSParserTokenManager(org.coode.owl.krssparser.JavaCharStream stream, int lexState)
stream
- the streamlexState
- the lex statepublic void setDebugStream(PrintStream ds)
ds
- the new debug streampublic void ReInit(org.coode.owl.krssparser.JavaCharStream stream)
stream
- the streampublic void ReInit(org.coode.owl.krssparser.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.