01: /* Generated By:JavaCC: Do not edit this line. SQLConstants.java */
02: package com.flexive.sqlParser;
03:
04: public interface SQLConstants {
05:
06: int EOF = 0;
07: int BRACE_CI_O = 11;
08: int BRACE_CI_C = 12;
09: int BRACE_OPEN = 13;
10: int BRACE_CLOSE = 14;
11: int GROUP_BY = 15;
12: int AND_OR = 16;
13: int ASC_DESC = 17;
14: int FROM = 18;
15: int WHERE = 19;
16: int FILTER = 20;
17: int NOT = 21;
18: int UNION = 22;
19: int EQUALS = 23;
20: int NEAR = 24;
21: int MORE_THAN = 25;
22: int LESS_THAN = 26;
23: int GEQ = 27;
24: int LEQ = 28;
25: int NOT_GTR = 29;
26: int IS_CHILD_OF = 30;
27: int IS_DIRECT_CHILD_OF = 31;
28: int NOT_LSS = 32;
29: int NEQ = 33;
30: int NEQ2 = 34;
31: int IS = 35;
32: int IS_NOT = 36;
33: int NULL = 37;
34: int LIKE = 38;
35: int SUBSTRING = 39;
36: int CONTAINS = 40;
37: int UPPER = 41;
38: int LOWER = 42;
39: int ORDER_BY = 43;
40: int IN_OR_NOTIN = 44;
41: int SELECT = 45;
42: int DISTINCT = 46;
43: int RELATION = 47;
44: int RECURSIVE = 48;
45: int END_STMT = 49;
46: int FUNCTION = 50;
47: int WILDCARD = 51;
48: int INTEGER = 52;
49: int FLOAT = 53;
50: int FXPK = 54;
51: int STRING = 55;
52: int BOOLEAN = 56;
53: int LIST_SEPERATOR = 57;
54: int IDENTIFIER = 58;
55: int SYM_SELECT_ITEM = 59;
56:
57: int DEFAULT = 0;
58: int WithinComment = 1;
59: int WithinLineComment = 2;
60:
61: String[] tokenImage = { "<EOF>", "\"/*\"", "\"-- \"", "\" \"",
62: "\"\\t\"", "\"\\n\"", "\"\\r\"", "\"*/\"",
63: "<token of kind 8>", "\"\\n\"", "<token of kind 10>",
64: "<BRACE_CI_O>", "<BRACE_CI_C>", "\"(\"", "\")\"",
65: "\"GROUP BY\"", "<AND_OR>", "<ASC_DESC>", "\"FROM \"",
66: "\"WHERE\"", "\"FILTER\"", "\"NOT\"", "\"UNION\"", "\"=\"",
67: "\"~=\"", "\">\"", "\"<\"", "\">=\"", "\"<=\"", "\"!>\"",
68: "<IS_CHILD_OF>", "<IS_DIRECT_CHILD_OF>", "\"!<\"",
69: "\"!=\"", "\"<>\"", "\"IS\"", "\"IS NOT\"", "\"NULL\"",
70: "\"LIKE\"", "\"SUBSTRING\"", "\"CONTAINS\"", "\"UPPER\"",
71: "\"LOWER\"", "<ORDER_BY>", "<IN_OR_NOTIN>", "\"SELECT \"",
72: "\"DISTINCT \"", "\"RELATION\"", "\"RECURSIVE\"",
73: "<END_STMT>", "<FUNCTION>", "\"*\"", "<INTEGER>",
74: "<FLOAT>", "<FXPK>", "<STRING>", "<BOOLEAN>", "\",\"",
75: "<IDENTIFIER>", "<SYM_SELECT_ITEM>", "\"|\"", };
76:
77: }
|