1 2 package org.objectweb.speedo.query.parser; 3 4 public interface SpeedoQLConstants { 5 6 int EOF = 0; 7 int BOOLEAN = 5; 8 int FLOAT = 6; 9 int DOUBLE = 7; 10 int NULL = 8; 11 int TRUE = 9; 12 int FALSE = 10; 13 int INT = 11; 14 int BYTE = 12; 15 int CHAR = 13; 16 int LONG = 14; 17 int SHORT = 15; 18 int LT = 16; 19 int GT = 17; 20 int LTE = 18; 21 int GTE = 19; 22 int PLUS = 20; 23 int MINUS = 21; 24 int MULT = 22; 25 int DIV = 23; 26 int EQ = 24; 27 int NEQ = 25; 28 int OR = 26; 29 int AND = 27; 30 int BITWISEOR = 28; 31 int BITWISEXOR = 29; 32 int BITWISEAND = 30; 33 int BITWISECOMPL = 31; 34 int NOT = 32; 35 int DOT = 33; 36 int INTEGER_LITERAL = 34; 37 int DECIMAL_LITERAL = 35; 38 int HEX_LITERAL = 36; 39 int OCTAL_LITERAL = 37; 40 int FLOATING_POINT_LITERAL = 38; 41 int EXPONENT = 39; 42 int CHARACTER_LITERAL = 40; 43 int STRING_LITERAL = 41; 44 int IDENTIFIER = 42; 45 int LETTER = 43; 46 int DIGIT = 44; 47 48 int DEFAULT = 0; 49 50 String [] tokenImage = { 51 "<EOF>", 52 "\" \"", 53 "\"\\t\"", 54 "\"\\n\"", 55 "\"\\r\"", 56 "\"boolean\"", 57 "\"float\"", 58 "\"double\"", 59 "\"null\"", 60 "\"true\"", 61 "\"false\"", 62 "\"int\"", 63 "\"byte\"", 64 "\"char\"", 65 "\"long\"", 66 "\"short\"", 67 "\"<\"", 68 "\">\"", 69 "\"<=\"", 70 "\">=\"", 71 "\"+\"", 72 "\"-\"", 73 "\"*\"", 74 "\"/\"", 75 "\"==\"", 76 "\"!=\"", 77 "\"||\"", 78 "\"&&\"", 79 "\"|\"", 80 "\"^\"", 81 "\"&\"", 82 "\"~\"", 83 "\"!\"", 84 "\".\"", 85 "<INTEGER_LITERAL>", 86 "<DECIMAL_LITERAL>", 87 "<HEX_LITERAL>", 88 "<OCTAL_LITERAL>", 89 "<FLOATING_POINT_LITERAL>", 90 "<EXPONENT>", 91 "<CHARACTER_LITERAL>", 92 "<STRING_LITERAL>", 93 "<IDENTIFIER>", 94 "<LETTER>", 95 "<DIGIT>", 96 "\"(\"", 97 "\")\"", 98 }; 99 100 } 101 | Popular Tags |