Package org.apache.jena.sparql.lang.arq
Class ARQParserTokenManager
- java.lang.Object
-
- org.apache.jena.sparql.lang.arq.ARQParserTokenManager
-
- All Implemented Interfaces:
ARQParserConstants
public class ARQParserTokenManager extends java.lang.Object implements ARQParserConstants
Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description java.io.PrintStream
debugStream
Debug output.static java.lang.String[]
jjstrLiteralImages
Token literal values.static java.lang.String[]
lexStateNames
Lexer state names.-
Fields inherited from interface org.apache.jena.sparql.lang.arq.ARQParserConstants
A2Z, A2ZN, ABS, ADD, AGG, ALL, AND, ANON, AS, ASC, ASK, ASSIGN, AT, AVG, BANG, BASE, BIND, BLANK_NODE_LABEL, BNODE, BOM, BOUND, BY, CALL, CARAT, CAST, CEIL, CLEAR, COALESCE, COLON, COMMA, CONCAT, CONSTRUCT, CONTAINS, COPY, COUNT, CREATE, DATA, DATATYPE, DAY, DECIMAL, DECIMAL_NEGATIVE, DECIMAL_POSITIVE, DEFAULT, DELETE, DELETE_DATA, DELETE_WHERE, DESC, DESCRIBE, DFT, DIGITS, DISTINCT, DOT, DOUBLE, DOUBLE_NEGATIVE, DOUBLE_POSITIVE, DROP, DTYPE, ECHAR, ENCODE_FOR_URI, EOF, EQ, EXISTS, EXPONENT, FALSE, FILTER, FLOOR, FPATH, FROM, GE, GRAPH, GROUP, GROUP_CONCAT, GT, GT2, HAVING, HEX, HOURS, IDIV, IF, IN, INSERT, INSERT_DATA, INTEGER, INTEGER_NEGATIVE, INTEGER_POSITIVE, INTO, IRI, IRIref, IS_BLANK, IS_IRI, IS_LITERAL, IS_NUMERIC, IS_TRIPLE, IS_URI, JSON, KW_A, L_ANN, LANG, LANGMATCHES, LANGTAG, LBRACE, LBRACKET, LCASE, LE, LET, LIMIT, LOAD, LPAREN, LT, LT2, MAX, MD5, MEDIAN, META, MIN, MINUS, MINUS_P, MINUTES, MOD, MODE, MONTH, MOVE, MULTI, NAMED, NE, NIL, NOT, NOW, OBJECT, OFFSET, OPTIONAL, ORDER, PERCENT, PLUS, PLX, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_LOCAL_ESC, PN_PREFIX, PNAME_LN, PNAME_NS, PREDICATE, PREFIX, QMARK, QUOTE_3D, QUOTE_3S, R_ANN, RAND, RBRACE, RBRACKET, REDUCED, REGEX, REPLACE, ROUND, RPAREN, RPATH, SAME_TERM, SAMPLE, SC_AND, SC_OR, SECONDS, SELECT, SEMICOLON, SEPARATOR, SERVICE, SHA1, SHA224, SHA256, SHA384, SHA512, SHORTEST, SILENT, SINGLE_LINE_COMMENT, SLASH, STAR, STDEV, STDEV_POP, STDEV_SAMP, STR, STRAFTER, STRBEFORE, STRDT, STRENDS, STRING_LITERAL_LONG1, STRING_LITERAL_LONG2, STRING_LITERAL1, STRING_LITERAL2, STRLANG, STRLEN, STRSTARTS, STRUUID, SUBJECT, SUBSTR, SUM, SURROGATE_PAIR, TILDE, TIMEZONE, TO, tokenImage, TRIPLE, TRUE, TZ, UCASE, UCHAR, UCHAR4, UCHAR8, UNDEF, UNION, UNKNOWN, URI, USING, UUID, VALUES, VAR_POP, VAR_SAMP, VAR1, VAR2, VARIANCE, VARNAME, VBAR, VERSION, WHERE, WITH, WS, WSC, YEAR
-
-
Constructor Summary
Constructors Constructor Description ARQParserTokenManager(SimpleCharStream stream)
Constructor.ARQParserTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getNextToken()
Get the next Token.void
ReInit(SimpleCharStream stream)
Reinitialise parser.void
ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.void
setDebugStream(java.io.PrintStream ds)
Set debug output.void
SwitchTo(int lexState)
Switch to specified lex state.
-
-
-
Constructor Detail
-
ARQParserTokenManager
public ARQParserTokenManager(SimpleCharStream stream)
Constructor.
-
ARQParserTokenManager
public ARQParserTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
setDebugStream
public void setDebugStream(java.io.PrintStream ds)
Set debug output.
-
getNextToken
public Token getNextToken()
Get the next Token.
-
ReInit
public void ReInit(SimpleCharStream stream)
Reinitialise parser.
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Switch to specified lex state.
-
-