View Javadoc
1   /* Generated By:JavaCC: Do not edit this line. XPathParserConstants.java */
2   package org.apache.commons.jxpath.ri.parser;
3   
4   public interface XPathParserConstants {
5   
6     int EOF = 0;
7     int SLASH = 6;
8     int SLASHSLASH = 7;
9     int UNION = 8;
10    int PLUS = 9;
11    int MINUS = 10;
12    int EQ = 11;
13    int NEQ = 12;
14    int LT = 13;
15    int LTE = 14;
16    int GT = 15;
17    int GTE = 16;
18    int VARIABLE = 17;
19    int Literal = 18;
20    int Digit = 19;
21    int Number = 20;
22    int Letter = 21;
23    int BaseChar = 22;
24    int Ideographic = 23;
25    int CombiningChar = 24;
26    int UnicodeDigit = 25;
27    int Extender = 26;
28    int OR = 27;
29    int AND = 28;
30    int MOD = 29;
31    int DIV = 30;
32    int NODE = 31;
33    int TEXT = 32;
34    int COMMENT = 33;
35    int PI = 34;
36    int AXIS_SELF = 35;
37    int AXIS_CHILD = 36;
38    int AXIS_PARENT = 37;
39    int AXIS_ANCESTOR = 38;
40    int AXIS_ATTRIBUTE = 39;
41    int AXIS_NAMESPACE = 40;
42    int AXIS_PRECEDING = 41;
43    int AXIS_FOLLOWING = 42;
44    int AXIS_DESCENDANT = 43;
45    int AXIS_ANCESTOR_OR_SELF = 44;
46    int AXIS_FOLLOWING_SIBLING = 45;
47    int AXIS_PRECEDING_SIBLING = 46;
48    int AXIS_DESCENDANT_OR_SELF = 47;
49    int FUNCTION_LAST = 48;
50    int FUNCTION_POSITION = 49;
51    int FUNCTION_COUNT = 50;
52    int FUNCTION_ID = 51;
53    int FUNCTION_KEY = 52;
54    int FUNCTION_LOCAL_NAME = 53;
55    int FUNCTION_NAMESPACE_URI = 54;
56    int FUNCTION_NAME = 55;
57    int FUNCTION_STRING = 56;
58    int FUNCTION_CONCAT = 57;
59    int FUNCTION_STARTS_WITH = 58;
60    int FUNCTION_ENDS_WITH = 59;
61    int FUNCTION_CONTAINS = 60;
62    int FUNCTION_SUBSTRING_BEFORE = 61;
63    int FUNCTION_SUBSTRING_AFTER = 62;
64    int FUNCTION_SUBSTRING = 63;
65    int FUNCTION_STRING_LENGTH = 64;
66    int FUNCTION_NORMALIZE_SPACE = 65;
67    int FUNCTION_TRANSLATE = 66;
68    int FUNCTION_BOOLEAN = 67;
69    int FUNCTION_NOT = 68;
70    int FUNCTION_TRUE = 69;
71    int FUNCTION_FALSE = 70;
72    int FUNCTION_NULL = 71;
73    int FUNCTION_LANG = 72;
74    int FUNCTION_NUMBER = 73;
75    int FUNCTION_SUM = 74;
76    int FUNCTION_FLOOR = 75;
77    int FUNCTION_CEILING = 76;
78    int FUNCTION_ROUND = 77;
79    int FUNCTION_FORMAT_NUMBER = 78;
80    int NCName = 79;
81  
82    int DEFAULT = 0;
83  
84    String[] tokenImage = {
85      "<EOF>",
86      "\" \"",
87      "\"\\t\"",
88      "\"\\n\"",
89      "\"\\r\"",
90      "\"\\f\"",
91      "\"/\"",
92      "\"//\"",
93      "\"|\"",
94      "\"+\"",
95      "\"-\"",
96      "\"=\"",
97      "\"!=\"",
98      "\"<\"",
99      "\"<=\"",
100     "\">\"",
101     "\">=\"",
102     "\"$\"",
103     "<Literal>",
104     "<Digit>",
105     "<Number>",
106     "<Letter>",
107     "<BaseChar>",
108     "<Ideographic>",
109     "<CombiningChar>",
110     "<UnicodeDigit>",
111     "<Extender>",
112     "\"or\"",
113     "\"and\"",
114     "\"mod\"",
115     "\"div\"",
116     "\"node\"",
117     "\"text\"",
118     "\"comment\"",
119     "\"processing-instruction\"",
120     "\"self::\"",
121     "\"child::\"",
122     "\"parent::\"",
123     "\"ancestor::\"",
124     "\"attribute::\"",
125     "\"namespace::\"",
126     "\"preceding::\"",
127     "\"following::\"",
128     "\"descendant::\"",
129     "\"ancestor-or-self::\"",
130     "\"following-sibling::\"",
131     "\"preceding-sibling::\"",
132     "\"descendant-or-self::\"",
133     "\"last\"",
134     "\"position\"",
135     "\"count\"",
136     "\"id\"",
137     "\"key\"",
138     "\"local-name\"",
139     "\"namespace-uri\"",
140     "\"name\"",
141     "\"string\"",
142     "\"concat\"",
143     "\"starts-with\"",
144     "\"ends-with\"",
145     "\"contains\"",
146     "\"substring-before\"",
147     "\"substring-after\"",
148     "\"substring\"",
149     "\"string-length\"",
150     "\"normalize-space\"",
151     "\"translate\"",
152     "\"boolean\"",
153     "\"not\"",
154     "\"true\"",
155     "\"false\"",
156     "\"null\"",
157     "\"lang\"",
158     "\"number\"",
159     "\"sum\"",
160     "\"floor\"",
161     "\"ceiling\"",
162     "\"round\"",
163     "\"format-number\"",
164     "<NCName>",
165     "\":\"",
166     "\"(\"",
167     "\")\"",
168     "\".\"",
169     "\"..\"",
170     "\"[\"",
171     "\"]\"",
172     "\"@\"",
173     "\",\"",
174     "\"*\"",
175   };
176 
177 }