1 16 17 package org.apache.commons.jexl.parser; 18 19 public interface ParserConstants { 20 21 int EOF = 0; 22 int COMMENT = 1; 23 int INTEGER_LITERAL = 7; 24 int FLOAT_LITERAL = 8; 25 int IDENTIFIER = 58; 26 int LETTER = 59; 27 int DIGIT = 60; 28 int STRING_LITERAL = 61; 29 30 int DEFAULT = 0; 31 32 String [] tokenImage = { 33 "<EOF>", 34 "<COMMENT>", 35 "\" \"", 36 "\"\\t\"", 37 "\"\\n\"", 38 "\"\\r\"", 39 "\"\\f\"", 40 "<INTEGER_LITERAL>", 41 "<FLOAT_LITERAL>", 42 "\"{\"", 43 "\"}\"", 44 "\"empty\"", 45 "\"(\"", 46 "\")\"", 47 "\"size\"", 48 "\"=\"", 49 "\"||\"", 50 "\"or\"", 51 "\"&&\"", 52 "\"and\"", 53 "\"|\"", 54 "\"^\"", 55 "\"&\"", 56 "\"==\"", 57 "\"eq\"", 58 "\"!=\"", 59 "\"ne\"", 60 "\"<\"", 61 "\"lt\"", 62 "\">\"", 63 "\"gt\"", 64 "\"<=\"", 65 "\"le\"", 66 "\">=\"", 67 "\"ge\"", 68 "\"+\"", 69 "\"-\"", 70 "\"*\"", 71 "\"/\"", 72 "\"div\"", 73 "\"%\"", 74 "\"mod\"", 75 "\"~\"", 76 "\"!\"", 77 "\"not\"", 78 "\"null\"", 79 "\"true\"", 80 "\"false\"", 81 "\";\"", 82 "\"if\"", 83 "\"else\"", 84 "\"while\"", 85 "\"foreach\"", 86 "\"in\"", 87 "\",\"", 88 "\"[\"", 89 "\"]\"", 90 "\".\"", 91 "<IDENTIFIER>", 92 "<LETTER>", 93 "<DIGIT>", 94 "<STRING_LITERAL>", 95 }; 96 97 } 98 | Popular Tags |