01: package org.mandarax.jdbc.server.parser;
02:
03: /* Generated By:JavaCC: Do not edit this line. SQLConstants.java */
04: public interface SQLConstants {
05:
06: int EOF = 0;
07: int SELECT = 5;
08: int DISTINCT = 6;
09: int LIKE = 7;
10: int STAR = 8;
11: int DOT = 9;
12: int AND = 10;
13: int OR = 11;
14: int NOT = 12;
15: int WHERE = 13;
16: int FROM = 14;
17: int SEPARATOR = 15;
18: int OPEN_BRACKET = 16;
19: int CLOSE_BRACKET = 17;
20: int SINGLE_QUOTE = 18;
21: int EQUALS = 19;
22: int NOT_EQUALS = 20;
23: int LESS_THAN = 21;
24: int LESS_THAN_OR_EQUALS = 22;
25: int GREATER_THAN = 23;
26: int GREATER_THAN_OR_EQUALS = 24;
27: int HOST_VARIABLE = 25;
28: int ORDER_BY = 26;
29: int GROUP_BY = 27;
30: int HAVING = 28;
31: int ASC = 29;
32: int DESC = 30;
33: int SUM = 31;
34: int COUNT = 32;
35: int AVG = 33;
36: int MIN = 34;
37: int MAX = 35;
38: int INTEGER_NUMBER = 36;
39: int DECIMAL_NUMBER = 37;
40: int NAME = 38;
41: int STRING = 39;
42:
43: int DEFAULT = 0;
44:
45: String[] tokenImage = { "<EOF>", "\" \"", "\"\\n\"", "\"\\r\"",
46: "\"\\r\\n\"", "\"select\"", "\"distinct\"", "\"like\"",
47: "\"*\"", "\".\"", "\"and\"", "\"or\"", "\"not\"",
48: "\"where\"", "\"from\"", "\",\"", "\"(\"", "\")\"",
49: "\"\\\'\"", "\"=\"", "\"!=\"", "\"<\"", "\"<=\"", "\">\"",
50: "\">=\"", "\"?\"", "\"order by\"", "\"group by\"",
51: "\"having\"", "\"asc\"", "\"desc\"", "\"sum\"",
52: "\"count(*)\"", "\"avg\"", "\"min\"", "\"max\"",
53: "<INTEGER_NUMBER>", "<DECIMAL_NUMBER>", "<NAME>",
54: "<STRING>", };
55:
56: }
|