01: /* Generated By:JavaCC: Do not edit this line. JoSQLParserConstants.java */
02: package org.josql.parser;
03:
04: public interface JoSQLParserConstants {
05:
06: int EOF = 0;
07: int K_AS = 5;
08: int K_BY = 6;
09: int K_IS = 7;
10: int K_IN = 8;
11: int K_OR = 9;
12: int K_ON = 10;
13: int K_ALL = 11;
14: int K_AND = 12;
15: int K_NOT = 13;
16: int K_ASC = 14;
17: int K_DESC = 15;
18: int K_NULL = 16;
19: int K_LIKE = 17;
20: int K_INLIKE = 18;
21: int K_FROM = 19;
22: int K_WHERE = 20;
23: int K_GROUP = 21;
24: int K_LIMIT = 22;
25: int K_ORDER = 23;
26: int K_SELECT = 24;
27: int K_HAVING = 25;
28: int K_BETWEEN = 26;
29: int K_DISTINCT = 27;
30: int K_USE = 28;
31: int K_TRUE = 29;
32: int K_FALSE = 30;
33: int K_EXECUTE = 31;
34: int K_RESULTS = 32;
35: int K_WHERE_RESULTS = 33;
36: int K_HAVING_RESULTS = 34;
37: int K_GROUP_BY_RESULTS = 35;
38: int K_NEW = 36;
39: int K_INTO = 37;
40: int S_IDENTIFIER = 38;
41: int LETTER = 39;
42: int SPECIAL_CHARS = 40;
43: int S_CHAR_LITERAL = 41;
44: int S_CHAR_LITERAL2 = 42;
45: int S_QUOTED_IDENTIFIER = 43;
46: int S_DOUBLE = 44;
47: int S_INTEGER = 45;
48: int DIGIT = 46;
49: int LINE_COMMENT = 47;
50: int MULTI_LINE_COMMENT = 48;
51:
52: int DEFAULT = 0;
53:
54: String[] tokenImage = { "<EOF>", "\" \"", "\"\\t\"", "\"\\r\"",
55: "\"\\n\"", "\"AS\"", "\"BY\"", "\"IS\"", "\"IN\"",
56: "\"OR\"", "\"ON\"", "\"ALL\"", "\"AND\"", "\"NOT\"",
57: "\"ASC\"", "\"DESC\"", "\"NULL\"", "\"LIKE\"",
58: "\"INLIKE\"", "\"FROM\"", "\"WHERE\"", "\"GROUP\"",
59: "\"LIMIT\"", "\"ORDER\"", "\"SELECT\"", "\"HAVING\"",
60: "\"BETWEEN\"", "\"DISTINCT\"", "\"USE\"", "\"TRUE\"",
61: "\"FALSE\"", "\"EXECUTE\"", "\"RESULTS\"",
62: "\"WHERE_RESULTS\"", "\"HAVING_RESULTS\"",
63: "\"GROUP_BY_RESULTS\"", "\"new\"", "\"->\"",
64: "<S_IDENTIFIER>", "<LETTER>", "<SPECIAL_CHARS>",
65: "<S_CHAR_LITERAL>", "<S_CHAR_LITERAL2>",
66: "<S_QUOTED_IDENTIFIER>", "<S_DOUBLE>", "<S_INTEGER>",
67: "<DIGIT>", "<LINE_COMMENT>", "<MULTI_LINE_COMMENT>",
68: "\":\"", "\":_\"", "\"?\"", "\".\"", "\"@\"", "\";\"",
69: "\",\"", "\"*\"", "\"[\"", "\"]\"", "\"(\"", "\")\"",
70: "\"{\"", "\"}\"", "\"$\"", "\">\"", "\"<\"", "\"=\"",
71: "\">=\"", "\"<=\"", "\"<>\"", "\"!=\"", "\"+\"", "\"-\"",
72: "\"/\"", "\"%\"", };
73:
74: }
|