1 2 package com.genimen.djeneric.repository.oql.core; 3 4 public interface DjOqlParserEngineConstants 5 { 6 7 int EOF = 0; 8 int SINGLE_LINE_COMMENT = 9; 9 int FORMAL_COMMENT = 10; 10 int MULTI_LINE_COMMENT = 11; 11 int INTEGER_LITERAL = 13; 12 int DECIMAL_LITERAL = 14; 13 int HEX_LITERAL = 15; 14 int OCTAL_LITERAL = 16; 15 int FLOATING_POINT_LITERAL = 17; 16 int EXPONENT = 18; 17 int CHARACTER_LITERAL = 19; 18 int STRING_LITERAL = 20; 19 int LIKE = 21; 20 int NULL = 22; 21 int IS = 23; 22 int NOT = 24; 23 int TRUE = 25; 24 int FALSE = 26; 25 int SC_OR2 = 27; 26 int SC_AND2 = 28; 27 int IDENTIFIER = 29; 28 int LETTER = 30; 29 int DIGIT = 31; 30 int LPAREN = 32; 31 int RPAREN = 33; 32 int COMMA = 34; 33 int DOT = 35; 34 int GT = 36; 35 int LT = 37; 36 int BANG = 38; 37 int COLON = 39; 38 int EQ = 40; 39 int EQ2 = 41; 40 int LE = 42; 41 int GE = 43; 42 int NE = 44; 43 int SC_OR = 45; 44 int SC_AND = 46; 45 int PLUS = 47; 46 int MINUS = 48; 47 int STAR = 49; 48 int SLASH = 50; 49 50 int DEFAULT = 0; 51 int IN_SINGLE_LINE_COMMENT = 1; 52 int IN_FORMAL_COMMENT = 2; 53 int IN_MULTI_LINE_COMMENT = 3; 54 55 String [] tokenImage = {"<EOF>", "\" \"", "\"\\t\"", "\"\\n\"", "\"\\r\"", "\"\\f\"", "\"//\"", 56 "<token of kind 7>", "\"/*\"", "<SINGLE_LINE_COMMENT>", "\"*/\"", "\"*/\"", "<token of kind 12>", 57 "<INTEGER_LITERAL>", "<DECIMAL_LITERAL>", "<HEX_LITERAL>", "<OCTAL_LITERAL>", "<FLOATING_POINT_LITERAL>", 58 "<EXPONENT>", "<CHARACTER_LITERAL>", "<STRING_LITERAL>", "\"like\"", "\"null\"", "\"is\"", "\"not\"", "\"true\"", 59 "\"false\"", "\"or\"", "\"and\"", "<IDENTIFIER>", "<LETTER>", "<DIGIT>", "\"(\"", "\")\"", "\",\"", "\".\"", 60 "\">\"", "\"<\"", "\"!\"", "\":\"", "\"==\"", "\"=\"", "\"<=\"", "\">=\"", "\"!=\"", "\"||\"", "\"&&\"", "\"+\"", 61 "\"-\"", "\"*\"", "\"/\"", "\"%\"", "\";\"",}; 62 63 } | Popular Tags |