1 2 20 21 22 package org.apache.cayenne.exp.parser; 23 24 public interface ExpressionParserConstants { 25 26 int EOF = 0; 27 int NULL = 31; 28 int TRUE = 32; 29 int FALSE = 33; 30 int PROPERTY_PATH = 34; 31 int IDENTIFIER = 35; 32 int LETTER = 36; 33 int DIGIT = 37; 34 int ESC = 40; 35 int SINGLE_QUOTED_STRING = 42; 36 int STRING_ESC = 43; 37 int DOUBLE_QUOTED_STRING = 45; 38 int INT_LITERAL = 46; 39 int FLOAT_LITERAL = 47; 40 int DEC_FLT = 48; 41 int DEC_DIGITS = 49; 42 int EXPONENT = 50; 43 int FLT_SUFF = 51; 44 45 int DEFAULT = 0; 46 int WithinSingleQuoteLiteral = 1; 47 int WithinDoubleQuoteLiteral = 2; 48 49 String [] tokenImage = { 50 "<EOF>", 51 "\"or\"", 52 "\"and\"", 53 "\"not\"", 54 "\"!\"", 55 "\"=\"", 56 "\"==\"", 57 "\"!=\"", 58 "\"<>\"", 59 "\"<=\"", 60 "\"<\"", 61 "\">\"", 62 "\">=\"", 63 "\"like\"", 64 "\"likeIgnoreCase\"", 65 "\"in\"", 66 "\"(\"", 67 "\")\"", 68 "\"between\"", 69 "\",\"", 70 "\"+\"", 71 "\"-\"", 72 "\"*\"", 73 "\"/\"", 74 "\"$\"", 75 "\"obj:\"", 76 "\"db:\"", 77 "\" \"", 78 "\"\\t\"", 79 "\"\\n\"", 80 "\"\\r\"", 81 "<NULL>", 82 "<TRUE>", 83 "<FALSE>", 84 "<PROPERTY_PATH>", 85 "<IDENTIFIER>", 86 "<LETTER>", 87 "<DIGIT>", 88 "\"\\\'\"", 89 "\"\\\"\"", 90 "<ESC>", 91 "<token of kind 41>", 92 "\"\\\'\"", 93 "<STRING_ESC>", 94 "<token of kind 44>", 95 "\"\\\"\"", 96 "<INT_LITERAL>", 97 "<FLOAT_LITERAL>", 98 "<DEC_FLT>", 99 "<DEC_DIGITS>", 100 "<EXPONENT>", 101 "<FLT_SUFF>", 102 }; 103 104 } 105 | Popular Tags |