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 = { "<EOF>", "\" \"", "\"\\t\"", "\"\\n\"",
084: "\"\\r\"", "\"\\f\"", "\"/\"", "\"//\"", "\"|\"", "\"+\"",
085: "\"-\"", "\"=\"", "\"!=\"", "\"<\"", "\"<=\"", "\">\"",
086: "\">=\"", "\"$\"", "<Literal>", "<Digit>", "<Number>",
087: "<Letter>", "<BaseChar>", "<Ideographic>",
088: "<CombiningChar>", "<UnicodeDigit>", "<Extender>",
089: "\"or\"", "\"and\"", "\"mod\"", "\"div\"", "\"node\"",
090: "\"text\"", "\"comment\"", "\"processing-instruction\"",
091: "\"self::\"", "\"child::\"", "\"parent::\"",
092: "\"ancestor::\"", "\"attribute::\"", "\"namespace::\"",
093: "\"preceding::\"", "\"following::\"", "\"descendant::\"",
094: "\"ancestor-or-self::\"", "\"following-sibling::\"",
095: "\"preceding-sibling::\"", "\"descendant-or-self::\"",
096: "\"last\"", "\"position\"", "\"count\"", "\"id\"",
097: "\"key\"", "\"local-name\"", "\"namespace-uri\"",
098: "\"name\"", "\"string\"", "\"concat\"", "\"starts-with\"",
099: "\"contains\"", "\"substring-before\"",
100: "\"substring-after\"", "\"substring\"",
101: "\"string-length\"", "\"normalize-space\"",
102: "\"translate\"", "\"boolean\"", "\"not\"", "\"true\"",
103: "\"false\"", "\"null\"", "\"lang\"", "\"number\"",
104: "\"sum\"", "\"floor\"", "\"ceiling\"", "\"round\"",
105: "\"format-number\"", "<NCName>", "\":\"", "\"(\"", "\")\"",
106: "\".\"", "\"..\"", "\"[\"", "\"]\"", "\"@\"", "\",\"",
107: "\"*\"", };
108:
109: }
|