public class KRSSParserTokenManager extends Object implements KRSSParserConstants
| Modifier and Type | Field and Description |
|---|---|
protected char |
curChar
The cur char.
|
PrintStream |
debugStream
Debug output.
|
protected BOMSafeJavaCharStream |
input_stream
The input_stream.
|
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(BOMSafeJavaCharStream stream)
Constructor.
|
KRSSParserTokenManager(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 static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
protected BOMSafeJavaCharStream input_stream
protected char curChar
public KRSSParserTokenManager(BOMSafeJavaCharStream stream)
stream - the streampublic KRSSParserTokenManager(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.