Class SPARQLExtParserTokenManager
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.lang.SPARQLExtParserTokenManager
-
- All Implemented Interfaces:
SPARQLExtParserConstants
public class SPARQLExtParserTokenManager extends Object implements SPARQLExtParserConstants
Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
curChar
protected JavaCharStream
input_stream
static int[]
jjnewLexState
Lex State array.static String[]
jjstrLiteralImages
Token literal values.static String[]
lexStateNames
Lexer state names.-
Fields inherited from interface fr.mines_stetienne.ci.sparql_generate.lang.SPARQLExtParserConstants
A2Z, A2ZN, ABS, ACCEPT, ADD, AFTER, AGG, ALL, AND, ANON, AS, ASC, ASK, AT, AVG, BANG, BASE, BEFORE, BIND, BLANK_NODE_LABEL, BNODE, BOM, BOUND, BOX, BY, CARAT, 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, EXPRESSIONS, FALSE, FILTER, FLOOR, FORMAT, FPATH, FROM, FUNCTION, GE, GENERATE, GRAPH, GROUP, GROUP_CONCAT, GT, HAVING, HEX, HOURS, IF, IN, INSERT, INSERT_DATA, INTEGER, INTEGER_NEGATIVE, INTEGER_POSITIVE, INTO, IRI, IRIref, IS_BLANK, IS_IRI, IS_LITERAL, IS_NUMERIC, IS_URI, ITERATOR, KW_A, L1, L2, LANG, LANGMATCHES, LANGTAG, LBRACE, LBRACKET, LCASE, LE, LIMIT, LIST, LOAD, LPAREN, LT, MAX, MD5, META, MIN, MINUS, MINUS_P, MINUTES, MONTH, MOVE, NAMED, NE, NIL, NOT, NOW, OFFSET, OPTIONAL, ORDER, PARSING_XIRI, PARSING_XL1, PARSING_XL2, PARSING_XS1, PARSING_XS2, PERCENT, PERFORM, PLUS, PLX, PN_CHARS, PN_CHARS_BASE, PN_CHARS_U, PN_LOCAL, PN_LOCAL_ESC, PN_PREFIX, PNAME_LN, PNAME_NS, PRAGMA, PREFIX, QMARK, QUOTE_3D, QUOTE_3S, RAND, RBRACE, RBRACKET, REDUCED, REGEX, REPLACE, RI, ROUND, RPAREN, RPATH, S1, S2, SAME_TERM, SAMPLE, SC_AND, SC_OR, SECONDS, SELECT, SEMICOLON, SEPARATOR, SERVICE, SHA1, SHA224, SHA256, SHA384, SHA512, SILENT, SINGLE_LINE_COMMENT, SLASH, SOURCE, STAR, START_XEXPR, STDDEV, STR, STRAFTER, STRBEFORE, STRDT, STRENDS, STRING_LITERAL_LONG1, STRING_LITERAL_LONG1_END, STRING_LITERAL_LONG1_START, STRING_LITERAL_LONG2, STRING_LITERAL_LONG2_END, STRING_LITERAL_LONG2_START, STRING_LITERAL1, STRING_LITERAL1_END, STRING_LITERAL1_START, STRING_LITERAL2, STRING_LITERAL2_END, STRING_LITERAL2_START, STRLANG, STRLEN, STRSTARTS, STRUUID, SUBSTR, SUM, TEMPLATE, TILDE, TIMEZONE, TO, tokenImage, TRUE, TZ, UCASE, UNDEF, UNION, UNKNOWN, URI, USING, UUID, VALUES, VAR1, VAR2, VARNAME, VBAR, WHERE, WITH, WS, WSC, XIRIref_END, XIRIref_START, YEAR
-
-
Constructor Summary
Constructors Constructor Description SPARQLExtParserTokenManager(JavaCharStream stream)
Constructor.SPARQLExtParserTokenManager(JavaCharStream stream, int lexState)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getNextToken()
Get the next Token.protected Token
jjFillToken()
void
ReInit(JavaCharStream stream)
Reinitialise parser.void
ReInit(JavaCharStream stream, int lexState)
Reinitialise parser.void
SwitchTo(int lexState)
Switch to specified lex state.
-
-
-
Field Detail
-
jjstrLiteralImages
public static final String[] jjstrLiteralImages
Token literal values.
-
lexStateNames
public static final String[] lexStateNames
Lexer state names.
-
jjnewLexState
public static final int[] jjnewLexState
Lex State array.
-
input_stream
protected JavaCharStream input_stream
-
curChar
protected int curChar
-
-
Constructor Detail
-
SPARQLExtParserTokenManager
public SPARQLExtParserTokenManager(JavaCharStream stream)
Constructor.
-
SPARQLExtParserTokenManager
public SPARQLExtParserTokenManager(JavaCharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
jjFillToken
protected Token jjFillToken()
-
getNextToken
public Token getNextToken()
Get the next Token.
-
ReInit
public void ReInit(JavaCharStream stream)
Reinitialise parser.
-
ReInit
public void ReInit(JavaCharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Switch to specified lex state.
-
-