001 /* Generated By:JavaCC: Do not edit this line. XPathParserConstants.java */
002 package org.apache.commons.jxpath.ri.parser;
003
004 public interface XPathParserConstants {
005
006 int EOF = 0;
007 int SLASH = 6;
008 int SLASHSLASH = 7;
009 int UNION = 8;
010 int PLUS = 9;
011 int MINUS = 10;
012 int EQ = 11;
013 int NEQ = 12;
014 int LT = 13;
015 int LTE = 14;
016 int GT = 15;
017 int GTE = 16;
018 int VARIABLE = 17;
019 int Literal = 18;
020 int Digit = 19;
021 int Number = 20;
022 int Letter = 21;
023 int BaseChar = 22;
024 int Ideographic = 23;
025 int CombiningChar = 24;
026 int UnicodeDigit = 25;
027 int Extender = 26;
028 int OR = 27;
029 int AND = 28;
030 int MOD = 29;
031 int DIV = 30;
032 int NODE = 31;
033 int TEXT = 32;
034 int COMMENT = 33;
035 int PI = 34;
036 int AXIS_SELF = 35;
037 int AXIS_CHILD = 36;
038 int AXIS_PARENT = 37;
039 int AXIS_ANCESTOR = 38;
040 int AXIS_ATTRIBUTE = 39;
041 int AXIS_NAMESPACE = 40;
042 int AXIS_PRECEDING = 41;
043 int AXIS_FOLLOWING = 42;
044 int AXIS_DESCENDANT = 43;
045 int AXIS_ANCESTOR_OR_SELF = 44;
046 int AXIS_FOLLOWING_SIBLING = 45;
047 int AXIS_PRECEDING_SIBLING = 46;
048 int AXIS_DESCENDANT_OR_SELF = 47;
049 int FUNCTION_LAST = 48;
050 int FUNCTION_POSITION = 49;
051 int FUNCTION_COUNT = 50;
052 int FUNCTION_ID = 51;
053 int FUNCTION_KEY = 52;
054 int FUNCTION_LOCAL_NAME = 53;
055 int FUNCTION_NAMESPACE_URI = 54;
056 int FUNCTION_NAME = 55;
057 int FUNCTION_STRING = 56;
058 int FUNCTION_CONCAT = 57;
059 int FUNCTION_STARTS_WITH = 58;
060 int FUNCTION_CONTAINS = 59;
061 int FUNCTION_SUBSTRING_BEFORE = 60;
062 int FUNCTION_SUBSTRING_AFTER = 61;
063 int FUNCTION_SUBSTRING = 62;
064 int FUNCTION_STRING_LENGTH = 63;
065 int FUNCTION_NORMALIZE_SPACE = 64;
066 int FUNCTION_TRANSLATE = 65;
067 int FUNCTION_BOOLEAN = 66;
068 int FUNCTION_NOT = 67;
069 int FUNCTION_TRUE = 68;
070 int FUNCTION_FALSE = 69;
071 int FUNCTION_NULL = 70;
072 int FUNCTION_LANG = 71;
073 int FUNCTION_NUMBER = 72;
074 int FUNCTION_SUM = 73;
075 int FUNCTION_FLOOR = 74;
076 int FUNCTION_CEILING = 75;
077 int FUNCTION_ROUND = 76;
078 int FUNCTION_FORMAT_NUMBER = 77;
079 int NCName = 78;
080
081 int DEFAULT = 0;
082
083 String[] tokenImage = {
084 "<EOF>",
085 "\" \"",
086 "\"\\t\"",
087 "\"\\n\"",
088 "\"\\r\"",
089 "\"\\f\"",
090 "\"/\"",
091 "\"//\"",
092 "\"|\"",
093 "\"+\"",
094 "\"-\"",
095 "\"=\"",
096 "\"!=\"",
097 "\"<\"",
098 "\"<=\"",
099 "\">\"",
100 "\">=\"",
101 "\"$\"",
102 "<Literal>",
103 "<Digit>",
104 "<Number>",
105 "<Letter>",
106 "<BaseChar>",
107 "<Ideographic>",
108 "<CombiningChar>",
109 "<UnicodeDigit>",
110 "<Extender>",
111 "\"or\"",
112 "\"and\"",
113 "\"mod\"",
114 "\"div\"",
115 "\"node\"",
116 "\"text\"",
117 "\"comment\"",
118 "\"processing-instruction\"",
119 "\"self::\"",
120 "\"child::\"",
121 "\"parent::\"",
122 "\"ancestor::\"",
123 "\"attribute::\"",
124 "\"namespace::\"",
125 "\"preceding::\"",
126 "\"following::\"",
127 "\"descendant::\"",
128 "\"ancestor-or-self::\"",
129 "\"following-sibling::\"",
130 "\"preceding-sibling::\"",
131 "\"descendant-or-self::\"",
132 "\"last\"",
133 "\"position\"",
134 "\"count\"",
135 "\"id\"",
136 "\"key\"",
137 "\"local-name\"",
138 "\"namespace-uri\"",
139 "\"name\"",
140 "\"string\"",
141 "\"concat\"",
142 "\"starts-with\"",
143 "\"contains\"",
144 "\"substring-before\"",
145 "\"substring-after\"",
146 "\"substring\"",
147 "\"string-length\"",
148 "\"normalize-space\"",
149 "\"translate\"",
150 "\"boolean\"",
151 "\"not\"",
152 "\"true\"",
153 "\"false\"",
154 "\"null\"",
155 "\"lang\"",
156 "\"number\"",
157 "\"sum\"",
158 "\"floor\"",
159 "\"ceiling\"",
160 "\"round\"",
161 "\"format-number\"",
162 "<NCName>",
163 "\":\"",
164 "\"(\"",
165 "\")\"",
166 "\".\"",
167 "\"..\"",
168 "\"[\"",
169 "\"]\"",
170 "\"@\"",
171 "\",\"",
172 "\"*\"",
173 };
174
175 }