001: /* Generated By:JJTree&JavaCC: Do not edit this line. SyntaxTreeBuilderConstants.java */
002: package org.openrdf.query.parser.sparql.ast;
003:
004: public interface SyntaxTreeBuilderConstants {
005:
006: int EOF = 0;
007: int WS_CHAR = 1;
008: int WHITESPACE = 2;
009: int SINGLE_LINE_COMMENT = 3;
010: int LPAREN = 4;
011: int RPAREN = 5;
012: int LBRACE = 6;
013: int RBRACE = 7;
014: int LBRACK = 8;
015: int RBRACK = 9;
016: int SEMICOLON = 10;
017: int COMMA = 11;
018: int DOT = 12;
019: int EQ = 13;
020: int NE = 14;
021: int GT = 15;
022: int LT = 16;
023: int LE = 17;
024: int GE = 18;
025: int NOT = 19;
026: int OR = 20;
027: int AND = 21;
028: int PLUS = 22;
029: int MINUS = 23;
030: int STAR = 24;
031: int SLASH = 25;
032: int DT_PREFIX = 26;
033: int NIL = 27;
034: int ANON = 28;
035: int IS_A = 29;
036: int BASE = 30;
037: int PREFIX = 31;
038: int SELECT = 32;
039: int CONSTRUCT = 33;
040: int DESCRIBE = 34;
041: int ASK = 35;
042: int DISTINCT = 36;
043: int REDUCED = 37;
044: int FROM = 38;
045: int NAMED = 39;
046: int WHERE = 40;
047: int ORDER = 41;
048: int BY = 42;
049: int ASC = 43;
050: int DESC = 44;
051: int LIMIT = 45;
052: int OFFSET = 46;
053: int OPTIONAL = 47;
054: int GRAPH = 48;
055: int UNION = 49;
056: int FILTER = 50;
057: int STR = 51;
058: int LANG = 52;
059: int LANGMATCHES = 53;
060: int DATATYPE = 54;
061: int BOUND = 55;
062: int SAMETERM = 56;
063: int IS_IRI = 57;
064: int IS_BLANK = 58;
065: int IS_LITERAL = 59;
066: int REGEX = 60;
067: int TRUE = 61;
068: int FALSE = 62;
069: int Q_IRI_REF = 63;
070: int PNAME_NS = 64;
071: int PNAME_LN = 65;
072: int BLANK_NODE_LABEL = 66;
073: int VAR1 = 67;
074: int VAR2 = 68;
075: int LANGTAG = 69;
076: int INTEGER = 70;
077: int INTEGER_POSITIVE = 71;
078: int INTEGER_NEGATIVE = 72;
079: int DECIMAL = 73;
080: int DECIMAL1 = 74;
081: int DECIMAL2 = 75;
082: int DECIMAL_POSITIVE = 76;
083: int DECIMAL_NEGATIVE = 77;
084: int DOUBLE = 78;
085: int DOUBLE1 = 79;
086: int DOUBLE2 = 80;
087: int DOUBLE3 = 81;
088: int EXPONENT = 82;
089: int DOUBLE_POSITIVE = 83;
090: int DOUBLE_NEGATIVE = 84;
091: int STRING_LITERAL1 = 85;
092: int STRING_LITERAL2 = 86;
093: int STRING_LITERAL_LONG1 = 87;
094: int STRING_LITERAL_LONG2 = 88;
095: int SAFE_CHAR1 = 89;
096: int SAFE_CHAR2 = 90;
097: int SAFE_CHAR_LONG1 = 91;
098: int SAFE_CHAR_LONG2 = 92;
099: int ECHAR = 93;
100: int HEX = 94;
101: int ALPHA = 95;
102: int NUM = 96;
103: int PN_CHARS_BASE = 97;
104: int PN_CHARS_U = 98;
105: int PN_START_CHAR = 99;
106: int VAR_CHAR = 100;
107: int PN_END_CHAR = 101;
108: int PN_CHAR = 102;
109: int PN_PREFIX = 103;
110: int PN_LOCAL = 104;
111: int VARNAME = 105;
112:
113: int DEFAULT = 0;
114:
115: String[] tokenImage = { "<EOF>", "<WS_CHAR>", "<WHITESPACE>",
116: "<SINGLE_LINE_COMMENT>", "\"(\"", "\")\"", "\"{\"",
117: "\"}\"", "\"[\"", "\"]\"", "\";\"", "\",\"", "\".\"",
118: "\"=\"", "\"!=\"", "\">\"", "\"<\"", "\"<=\"", "\">=\"",
119: "\"!\"", "\"||\"", "\"&&\"", "\"+\"", "\"-\"", "\"*\"",
120: "\"/\"", "\"^^\"", "<NIL>", "<ANON>", "\"a\"", "\"base\"",
121: "\"prefix\"", "\"select\"", "\"construct\"",
122: "\"describe\"", "\"ask\"", "\"distinct\"", "\"reduced\"",
123: "\"from\"", "\"named\"", "\"where\"", "\"order\"",
124: "\"by\"", "\"asc\"", "\"desc\"", "\"limit\"", "\"offset\"",
125: "\"optional\"", "\"graph\"", "\"union\"", "\"filter\"",
126: "\"str\"", "\"lang\"", "\"langmatches\"", "\"datatype\"",
127: "\"bound\"", "\"sameTerm\"", "<IS_IRI>", "\"isBlank\"",
128: "\"isLiteral\"", "\"regex\"", "\"true\"", "\"false\"",
129: "<Q_IRI_REF>", "<PNAME_NS>", "<PNAME_LN>",
130: "<BLANK_NODE_LABEL>", "<VAR1>", "<VAR2>", "<LANGTAG>",
131: "<INTEGER>", "<INTEGER_POSITIVE>", "<INTEGER_NEGATIVE>",
132: "<DECIMAL>", "<DECIMAL1>", "<DECIMAL2>",
133: "<DECIMAL_POSITIVE>", "<DECIMAL_NEGATIVE>", "<DOUBLE>",
134: "<DOUBLE1>", "<DOUBLE2>", "<DOUBLE3>", "<EXPONENT>",
135: "<DOUBLE_POSITIVE>", "<DOUBLE_NEGATIVE>",
136: "<STRING_LITERAL1>", "<STRING_LITERAL2>",
137: "<STRING_LITERAL_LONG1>", "<STRING_LITERAL_LONG2>",
138: "<SAFE_CHAR1>", "<SAFE_CHAR2>", "<SAFE_CHAR_LONG1>",
139: "<SAFE_CHAR_LONG2>", "<ECHAR>", "<HEX>", "<ALPHA>",
140: "<NUM>", "<PN_CHARS_BASE>", "<PN_CHARS_U>",
141: "<PN_START_CHAR>", "<VAR_CHAR>", "<PN_END_CHAR>",
142: "<PN_CHAR>", "<PN_PREFIX>", "<PN_LOCAL>", "<VARNAME>", };
143:
144: }
|