Module org.apache.jena.arq
Class TurtleJavaccTokenManager
java.lang.Object
org.apache.jena.riot.lang.extra.javacc.TurtleJavaccTokenManager
- All Implemented Interfaces:
TurtleJavaccConstants
Token Manager.
-
Field Summary
Modifier and TypeFieldDescriptionDebug output.static final int[]
Lex State array.static final String[]
Token literal values.static final String[]
Lexer state names.Fields inherited from interface org.apache.jena.riot.lang.extra.javacc.TurtleJavaccConstants
A2Z, A2ZN, ANON, AT, BASE, BASE_OLD, BLANK_NODE_LABEL, BOM, COMMA, DATATYPE, DECIMAL, DEFAULT, DIGITS, DOT, DOUBLE, ECHAR, EOF, EXPONENT, FALSE, GT2, HEX, INTEGER, IRIref, KW_A, L_ANN, LANGTAG, LBRACE, LBRACKET, LPAREN, LT2, MINUS, PERCENT, PLUS, PLX, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_LOCAL_ESC, PN_PREFIX, PNAME_LN, PNAME_NS, PREFIX, PREFIX_OLD, QUOTE_3D, QUOTE_3S, R_ANN, RBRACE, RBRACKET, RPAREN, SEMICOLON, SINGLE_LINE_COMMENT, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, SURROGATE_PAIR, tokenImage, TRUE, UCHAR, UCHAR4, UCHAR8, UNKNOWN, VARNAME, WS, WSC
-
Constructor Summary
ConstructorDescriptionConstructor.TurtleJavaccTokenManager
(SimpleCharStream stream, int lexState) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the next Token.void
ReInit
(SimpleCharStream stream) Reinitialise parser.void
ReInit
(SimpleCharStream stream, int lexState) Reinitialise parser.void
Set debug output.void
SwitchTo
(int lexState) Switch to specified lex state.
-
Field Details
-
debugStream
Debug output. -
jjstrLiteralImages
Token literal values. -
lexStateNames
Lexer state names. -
jjnewLexState
public static final int[] jjnewLexStateLex State array.
-
-
Constructor Details
-
TurtleJavaccTokenManager
Constructor. -
TurtleJavaccTokenManager
Constructor.
-
-
Method Details
-
setDebugStream
Set debug output. -
getNextToken
Get the next Token. -
ReInit
Reinitialise parser. -
ReInit
Reinitialise parser. -
SwitchTo
public void SwitchTo(int lexState) Switch to specified lex state.
-