public class KRSS2ParserTokenManager extends Object implements KRSS2ParserConstants
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, BOTTOM, CLOSEPAR, COMMENT_START, COMPOSE, DEFAULT, DEFINECONCEPT, DEFINEINDIVIDUAL, DEFINEPRIMITIVECONCEPT, DEFINEPRIMITIVEROLE, DEFINEROLE, DISJOINT, DISJOINTROLES, DISTINCT, DOMAIN_ATTRIBUTE, DPOINT, ENDABOX, ENDTBOX, ENUM, EOF, EQUAL, EQUIVALENT, ERROR, EXACTLY, IMPLIES, IMPLIESROLE, IN_COMMENT, IN_IRI, INSTANCE, INT, INV, INVERSE, INVERSE_ATTRIBUTE, IRI_END, IRI_START, LEFT_IDENTITY_ATTRIBUTE, NAME, NCCHAR_FULL, NCCHAR1, NIL, NOT, ONEOF, OPENPAR, OR, PARENT, PARENTS, RANGE, RANGE_ATTRIBUTE, REFLEXIVE_ATTRIBUTE, RELATED, RIGHT_IDENTITY_ATTRIBUTE, ROLE_INCLUSION, ROLESEQUIVALENT, SOME, SUBROLE, SYMMETRIC_ATTRIBUTE, tokenImage, TOP, TRANSITIVE, TRANSITIVE_ATTRIBUTE, TRUE
Constructor and Description |
---|
KRSS2ParserTokenManager(de.uulm.ecs.ai.owlapi.krssparser.JavaCharStream stream)
Constructor.
|
KRSS2ParserTokenManager(de.uulm.ecs.ai.owlapi.krssparser.JavaCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
void |
ReInit(de.uulm.ecs.ai.owlapi.krssparser.JavaCharStream stream)
Reinitialise parser.
|
void |
ReInit(de.uulm.ecs.ai.owlapi.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 KRSS2ParserTokenManager(de.uulm.ecs.ai.owlapi.krssparser.JavaCharStream stream)
stream
- the streampublic KRSS2ParserTokenManager(de.uulm.ecs.ai.owlapi.krssparser.JavaCharStream stream, int lexState)
stream
- the streamlexState
- the lex statepublic void setDebugStream(PrintStream ds)
ds
- the new debug streampublic void ReInit(de.uulm.ecs.ai.owlapi.krssparser.JavaCharStream stream)
stream
- the streampublic void ReInit(de.uulm.ecs.ai.owlapi.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.