1 2 package com.genimen.djeneric.repository.sqlparser.core; 3 4 public interface SqlParserEngineConstants 5 { 6 7 int EOF = 0; 8 int COMMENT_LINE = 5; 9 int COMMENT_BLOCK = 6; 10 int ALL = 7; 11 int COMMIT = 8; 12 int ROLLBACK = 9; 13 int AND = 10; 14 int ASC = 11; 15 int AS = 12; 16 int BETWEEN = 13; 17 int BY = 14; 18 int DESC = 15; 19 int DISTINCT = 16; 20 int FROM = 17; 21 int GROUP = 18; 22 int HAVING = 19; 23 int FOR = 20; 24 int NOWAIT = 21; 25 int IN = 22; 26 int IS = 23; 27 int LIKE = 24; 28 int NOT = 25; 29 int NULL = 26; 30 int OR = 27; 31 int ORDER = 28; 32 int SELECT = 29; 33 int UNION = 30; 34 int USER = 31; 35 int VARCHAR = 32; 36 int VARCHAR2 = 33; 37 int WHERE = 34; 38 int DELETE = 35; 39 int EXISTS = 36; 40 int INSERT = 37; 41 int INTO = 38; 42 int SET = 39; 43 int UPDATE = 40; 44 int VALUES = 41; 45 int OPENDESCRIPTION = 42; 46 int CLOSEDESCRIPTION = 43; 47 int DESCRIPTION = 44; 48 int INTEGER_LITERAL = 45; 49 int FLOATING_POINT_LITERAL = 46; 50 int EXPONENT = 47; 51 int STRING_LITERAL = 48; 52 int ID = 49; 53 int LETTER = 50; 54 int DIGIT = 51; 55 int CONCAT = 52; 56 int SEMICOLON = 53; 57 int DOT = 54; 58 int TILDE = 55; 59 int LESS = 56; 60 int LESSEQUAL = 57; 61 int GREATER = 58; 62 int GREATEREQUAL = 59; 63 int EQUAL = 60; 64 int NOTEQUAL = 61; 65 int NOTEQUAL2 = 62; 66 int JOINPLUS = 63; 67 int OPENPAREN = 64; 68 int ASTERISK = 65; 69 int CLOSEPAREN = 66; 70 int SLASH = 67; 71 int PLUS = 68; 72 int MINUS = 69; 73 int QUESTIONMARK = 70; 74 75 int DEFAULT = 0; 76 int DESCRIPTION_START_STATE = 1; 77 int DESCRIPTION_STATE = 2; 78 79 String [] tokenImage = {"<EOF>", "\" \"", "\"\\n\"", "\"\\r\"", "\"\\t\"", "<COMMENT_LINE>", 80 "<COMMENT_BLOCK>", "\"all\"", "\"commit\"", "\"rollback\"", "\"and\"", "\"asc\"", "\"as\"", "\"between\"", 81 "\"by\"", "\"desc\"", "\"distinct\"", "\"from\"", "\"group\"", "\"having\"", "\"for\"", "\"nowait\"", "\"in\"", 82 "\"is\"", "\"like\"", "\"not\"", "\"null\"", "\"or\"", "\"order\"", "\"select\"", "\"union\"", "\"user\"", 83 "\"varchar\"", "\"varchar2\"", "\"where\"", "\"delete\"", "\"exists\"", "\"insert\"", "\"into\"", "\"set\"", 84 "\"update\"", "\"values\"", "\"\\r\\n\"", "\"~\"", "<DESCRIPTION>", "<INTEGER_LITERAL>", 85 "<FLOATING_POINT_LITERAL>", "<EXPONENT>", "<STRING_LITERAL>", "<ID>", "<LETTER>", "<DIGIT>", "\"||\"", "\";\"", 86 "\".\"", "\"~\"", "\"<\"", "\"<=\"", "\">\"", "\">=\"", "\"=\"", "\"!=\"", "\"<>\"", "\"(+)\"", "\"(\"", "\"*\"", 87 "\")\"", "\"/\"", "\"+\"", "\"-\"", "\"?\"", "\" (+) \"", "\",\"", "\":\"", "\".*\"",}; 88 89 } | Popular Tags |