1 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_CONTAINS = 59; 61 int FUNCTION_SUBSTRING_BEFORE = 60; 62 int FUNCTION_SUBSTRING_AFTER = 61; 63 int FUNCTION_SUBSTRING = 62; 64 int FUNCTION_STRING_LENGTH = 63; 65 int FUNCTION_NORMALIZE_SPACE = 64; 66 int FUNCTION_TRANSLATE = 65; 67 int FUNCTION_BOOLEAN = 66; 68 int FUNCTION_NOT = 67; 69 int FUNCTION_TRUE = 68; 70 int FUNCTION_FALSE = 69; 71 int FUNCTION_NULL = 70; 72 int FUNCTION_LANG = 71; 73 int FUNCTION_NUMBER = 72; 74 int FUNCTION_SUM = 73; 75 int FUNCTION_FLOOR = 74; 76 int FUNCTION_CEILING = 75; 77 int FUNCTION_ROUND = 76; 78 int FUNCTION_FORMAT_NUMBER = 77; 79 int NCName = 78; 80 81 int DEFAULT = 0; 82 83 String [] tokenImage = { 84 "<EOF>", 85 "\" \"", 86 "\"\\t\"", 87 "\"\\n\"", 88 "\"\\r\"", 89 "\"\\f\"", 90 "\"/\"", 91 "\"//\"", 92 "\"|\"", 93 "\"+\"", 94 "\"-\"", 95 "\"=\"", 96 "\"!=\"", 97 "\"<\"", 98 "\"<=\"", 99 "\">\"", 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 } 176 | Popular Tags |