001: // $ANTLR 2.7.2a2 (20020112-1): "sql.g" -> "SQLParser.java"$
002:
003: package com.quadcap.sql;
004:
005: public interface SQLTokenTypes {
006: int EOF = 1;
007: int NULL_TREE_LOOKAHEAD = 3;
008: int LITERAL_create = 4;
009: int LITERAL_unique = 5;
010: int LITERAL_index = 6;
011: int LITERAL_schema = 7;
012: int LITERAL_temporary = 8;
013: int LITERAL_table = 9;
014: int LITERAL_view = 10;
015: int LITERAL_drop = 11;
016: int LITERAL_commit = 12;
017: int LITERAL_work = 13;
018: int LITERAL_rollback = 14;
019: int LITERAL_transaction = 15;
020: int LITERAL_on = 16;
021: int LPAREN = 17;
022: int RPAREN = 18;
023: int LITERAL_alter = 19;
024: int LITERAL_add = 20;
025: int LITERAL_constraint = 21;
026: int LITERAL_primary = 22;
027: int LITERAL_foreign = 23;
028: int LITERAL_check = 24;
029: int LITERAL_rename = 25;
030: int LITERAL_column = 26;
031: int LITERAL_first = 27;
032: int LITERAL_after = 28;
033: int LITERAL_restrict = 29;
034: int LITERAL_cascade = 30;
035: int LITERAL_set = 31;
036: int LITERAL_default = 32;
037: int LITERAL_to = 33;
038: int LITERAL_as = 34;
039: int LITERAL_with = 35;
040: int LITERAL_cascaded = 36;
041: int LITERAL_option = 37;
042: int LITERAL_update = 38;
043: int COMMA = 39;
044: int LITERAL_where = 40;
045: int EQ = 41;
046: int LITERAL_delete = 42;
047: int LITERAL_from = 43;
048: int LITERAL_authorization = 44;
049: int LITERAL_global = 45;
050: int LITERAL_local = 46;
051: int LITERAL_grant = 47;
052: int LITERAL_public = 48;
053: int LITERAL_all = 49;
054: int LITERAL_privileges = 50;
055: int LITERAL_select = 51;
056: int LITERAL_insert = 52;
057: int LITERAL_references = 53;
058: int LITERAL_usage = 54;
059: int LITERAL_not = 55;
060: int LITERAL_null = 56;
061: int LITERAL_key = 57;
062: int LITERAL_identity = 58;
063: int LITERAL_match = 59;
064: int LITERAL_full = 60;
065: int LITERAL_partial = 61;
066: int LITERAL_no = 62;
067: int LITERAL_action = 63;
068: int LITERAL_initially = 64;
069: int LITERAL_deferred = 65;
070: int LITERAL_immediate = 66;
071: int LITERAL_deferrable = 67;
072: int LITERAL_bit = 68;
073: int LITERAL_varying = 69;
074: int LITERAL_varbinary = 70;
075: int LITERAL_binary = 71;
076: int LITERAL_blob = 72;
077: int LITERAL_large = 73;
078: int LITERAL_object = 74;
079: int LITERAL_clob = 75;
080: int LITERAL_character = 76;
081: int LITERAL_char = 77;
082: int LITERAL_varchar = 78;
083: int LITERAL_int = 79;
084: int LITERAL_integer = 80;
085: int LITERAL_smallint = 81;
086: int LITERAL_tinyint = 82;
087: int LITERAL_bigint = 83;
088: int LITERAL_dec = 84;
089: int LITERAL_decimal = 85;
090: int LITERAL_numeric = 86;
091: int LITERAL_real = 87;
092: int LITERAL_double = 88;
093: int LITERAL_precision = 89;
094: int LITERAL_float = 90;
095: int LITERAL_boolean = 91;
096: int LITERAL_date = 92;
097: int LITERAL_time = 93;
098: int LITERAL_zone = 94;
099: int LITERAL_timestamp = 95;
100: int LITERAL_interval = 96;
101: int LITERAL_for = 97;
102: int LITERAL_read = 98;
103: int LITERAL_only = 99;
104: int LITERAL_order = 100;
105: int LITERAL_by = 101;
106: int LITERAL_asc = 102;
107: int LITERAL_desc = 103;
108: int LITERAL_distinct = 104;
109: int STAR = 105;
110: int LITERAL_having = 106;
111: int LITERAL_corresponding = 107;
112: int LITERAL_values = 108;
113: int LITERAL_using = 109;
114: int LITERAL_group = 110;
115: int CONCAT = 111;
116: int LITERAL_or = 112;
117: int LITERAL_and = 113;
118: int LITERAL_is = 114;
119: int LITERAL_like = 115;
120: int LITERAL_between = 116;
121: int LITERAL_in = 117;
122: int LITERAL_exists = 118;
123: int LITERAL_escape = 119;
124: // "**" = 120
125: int PLUS = 121;
126: int MINUS = 122;
127: int STRING_LITERAL = 123;
128: int QUESTION = 124;
129: int INT = 125;
130: int REAL = 126;
131: int BINSTR = 127;
132: int HEXSTR = 128;
133: int LITERAL_case = 129;
134: int LITERAL_when = 130;
135: int LITERAL_then = 131;
136: int LITERAL_else = 132;
137: int LITERAL_end = 133;
138: int LITERAL_hour = 134;
139: int LITERAL_left = 135;
140: int LITERAL_minute = 136;
141: int LITERAL_month = 137;
142: int LITERAL_right = 138;
143: int LITERAL_second = 139;
144: int LITERAL_year = 140;
145: int LITERAL_user = 141;
146: int LITERAL_current_user = 142;
147: int LITERAL_session_user = 143;
148: int LITERAL_system_user = 144;
149: int LITERAL_current_date = 145;
150: int LITERAL_current_time = 146;
151: int LITERAL_current_timestamp = 147;
152: int LITERAL_sql_tsi_frac_second = 148;
153: int LITERAL_sql_tsi_second = 149;
154: int LITERAL_sql_tsi_minute = 150;
155: int LITERAL_sql_tsi_hour = 151;
156: int LITERAL_sql_tsi_day = 152;
157: int LITERAL_sql_tsi_week = 153;
158: int LITERAL_sql_tsi_month = 154;
159: int LITERAL_sql_tsi_quarter = 155;
160: int LITERAL_sql_tsi_year = 156;
161: int LITERAL_cast = 157;
162: int LITERAL_day = 158;
163: int LITERAL_true = 159;
164: int LITERAL_false = 160;
165: int LITERAL_avg = 161;
166: int LITERAL_min = 162;
167: int LITERAL_max = 163;
168: int LITERAL_sum = 164;
169: int LITERAL_count = 165;
170: int LITERAL_into = 166;
171: int LITERAL_unknown = 167;
172: int LT = 168;
173: int LE = 169;
174: int GT = 170;
175: int GE = 171;
176: int NE = 172;
177: int LITERAL_any = 173;
178: int LITERAL_some = 174;
179: int SLASH = 175;
180: int LITERAL_cross = 176;
181: int LITERAL_join = 177;
182: int LITERAL_natural = 178;
183: int LITERAL_union = 179;
184: int LITERAL_inner = 180;
185: int LITERAL_outer = 181;
186: int LITERAL_intersect = 182;
187: int LITERAL_except = 183;
188: int ID = 184;
189: int WS = 185;
190: int SL_COMMENT = 186;
191: int ML_COMMENT = 187;
192: int NL = 188;
193: int LCURLY = 189;
194: int RCURLY = 190;
195: int SEMI = 191;
196: int DIGIT = 192;
197: int EXP = 193;
198: int INT_OR_REAL = 194;
199: int HEXDIGIT = 195;
200: int IDCHAR = 196;
201: int IDCHAR2 = 197;
202: int SIMPID = 198;
203: int CASEID = 199;
204: int IDTERM = 200;
205: }
|