View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *     http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  /* Generated By:JavaCC: Do not edit this line. XPathParserConstants.java */
18  
19  package org.apache.commons.jxpath.ri.parser;
20  
21  public interface XPathParserConstants {
22  
23      int EOF = 0;
24      int SLASH = 6;
25      int SLASHSLASH = 7;
26      int UNION = 8;
27      int PLUS = 9;
28      int MINUS = 10;
29      int EQ = 11;
30      int NEQ = 12;
31      int LT = 13;
32      int LTE = 14;
33      int GT = 15;
34      int GTE = 16;
35      int VARIABLE = 17;
36      int Literal = 18;
37      int Digit = 19;
38      int Number = 20;
39      int Letter = 21;
40      int BaseChar = 22;
41      int Ideographic = 23;
42      int CombiningChar = 24;
43      int UnicodeDigit = 25;
44      int Extender = 26;
45      int OR = 27;
46      int AND = 28;
47      int MOD = 29;
48      int DIV = 30;
49      int NODE = 31;
50      int TEXT = 32;
51      int COMMENT = 33;
52      int PI = 34;
53      int AXIS_SELF = 35;
54      int AXIS_CHILD = 36;
55      int AXIS_PARENT = 37;
56      int AXIS_ANCESTOR = 38;
57      int AXIS_ATTRIBUTE = 39;
58      int AXIS_NAMESPACE = 40;
59      int AXIS_PRECEDING = 41;
60      int AXIS_FOLLOWING = 42;
61      int AXIS_DESCENDANT = 43;
62      int AXIS_ANCESTOR_OR_SELF = 44;
63      int AXIS_FOLLOWING_SIBLING = 45;
64      int AXIS_PRECEDING_SIBLING = 46;
65      int AXIS_DESCENDANT_OR_SELF = 47;
66      int FUNCTION_LAST = 48;
67      int FUNCTION_POSITION = 49;
68      int FUNCTION_COUNT = 50;
69      int FUNCTION_ID = 51;
70      int FUNCTION_KEY = 52;
71      int FUNCTION_LOCAL_NAME = 53;
72      int FUNCTION_NAMESPACE_URI = 54;
73      int FUNCTION_NAME = 55;
74      int FUNCTION_STRING = 56;
75      int FUNCTION_CONCAT = 57;
76      int FUNCTION_STARTS_WITH = 58;
77      int FUNCTION_ENDS_WITH = 59;
78      int FUNCTION_CONTAINS = 60;
79      int FUNCTION_SUBSTRING_BEFORE = 61;
80      int FUNCTION_SUBSTRING_AFTER = 62;
81      int FUNCTION_SUBSTRING = 63;
82      int FUNCTION_STRING_LENGTH = 64;
83      int FUNCTION_NORMALIZE_SPACE = 65;
84      int FUNCTION_TRANSLATE = 66;
85      int FUNCTION_BOOLEAN = 67;
86      int FUNCTION_NOT = 68;
87      int FUNCTION_TRUE = 69;
88      int FUNCTION_FALSE = 70;
89      int FUNCTION_NULL = 71;
90      int FUNCTION_LANG = 72;
91      int FUNCTION_NUMBER = 73;
92      int FUNCTION_SUM = 74;
93      int FUNCTION_FLOOR = 75;
94      int FUNCTION_CEILING = 76;
95      int FUNCTION_ROUND = 77;
96      int FUNCTION_FORMAT_NUMBER = 78;
97      int NCName = 79;
98      int DEFAULT = 0;
99      String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"", "\"\\r\"", "\"\\f\"", "\"/\"", "\"//\"", "\"|\"", "\"+\"", "\"-\"", "\"=\"", "\"!=\"",
100             "\"<\"", "\"<=\"", "\">\"", "\">=\"", "\"$\"", "<Literal>", "<Digit>", "<Number>", "<Letter>", "<BaseChar>", "<Ideographic>", "<CombiningChar>",
101             "<UnicodeDigit>", "<Extender>", "\"or\"", "\"and\"", "\"mod\"", "\"div\"", "\"node\"", "\"text\"", "\"comment\"", "\"processing-instruction\"",
102             "\"self::\"", "\"child::\"", "\"parent::\"", "\"ancestor::\"", "\"attribute::\"", "\"namespace::\"", "\"preceding::\"", "\"following::\"",
103             "\"descendant::\"", "\"ancestor-or-self::\"", "\"following-sibling::\"", "\"preceding-sibling::\"", "\"descendant-or-self::\"", "\"last\"",
104             "\"position\"", "\"count\"", "\"id\"", "\"key\"", "\"local-name\"", "\"namespace-uri\"", "\"name\"", "\"string\"", "\"concat\"", "\"starts-with\"",
105             "\"ends-with\"", "\"contains\"", "\"substring-before\"", "\"substring-after\"", "\"substring\"", "\"string-length\"", "\"normalize-space\"",
106             "\"translate\"", "\"boolean\"", "\"not\"", "\"true\"", "\"false\"", "\"null\"", "\"lang\"", "\"number\"", "\"sum\"", "\"floor\"", "\"ceiling\"",
107             "\"round\"", "\"format-number\"", "<NCName>", "\":\"", "\"(\"", "\")\"", "\".\"", "\"..\"", "\"[\"", "\"]\"", "\"@\"", "\",\"", "\"*\"", };
108 }