Drizzled Public API Documentation

pars0grm.hh
1 /* A Bison parser, made by GNU Bison 2.5. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 
34 /* Tokens. */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37  /* Put the tokens into the symbol table, so that GDB and other debuggers
38  know about them. */
39  enum yytokentype {
40  PARS_INT_LIT = 258,
41  PARS_FLOAT_LIT = 259,
42  PARS_STR_LIT = 260,
43  PARS_FIXBINARY_LIT = 261,
44  PARS_BLOB_LIT = 262,
45  PARS_NULL_LIT = 263,
46  PARS_ID_TOKEN = 264,
47  PARS_AND_TOKEN = 265,
48  PARS_OR_TOKEN = 266,
49  PARS_NOT_TOKEN = 267,
50  PARS_GE_TOKEN = 268,
51  PARS_LE_TOKEN = 269,
52  PARS_NE_TOKEN = 270,
53  PARS_PROCEDURE_TOKEN = 271,
54  PARS_IN_TOKEN = 272,
55  PARS_OUT_TOKEN = 273,
56  PARS_BINARY_TOKEN = 274,
57  PARS_BLOB_TOKEN = 275,
58  PARS_INT_TOKEN = 276,
59  PARS_INTEGER_TOKEN = 277,
60  PARS_FLOAT_TOKEN = 278,
61  PARS_CHAR_TOKEN = 279,
62  PARS_IS_TOKEN = 280,
63  PARS_BEGIN_TOKEN = 281,
64  PARS_END_TOKEN = 282,
65  PARS_IF_TOKEN = 283,
66  PARS_THEN_TOKEN = 284,
67  PARS_ELSE_TOKEN = 285,
68  PARS_ELSIF_TOKEN = 286,
69  PARS_LOOP_TOKEN = 287,
70  PARS_WHILE_TOKEN = 288,
71  PARS_RETURN_TOKEN = 289,
72  PARS_SELECT_TOKEN = 290,
73  PARS_SUM_TOKEN = 291,
74  PARS_COUNT_TOKEN = 292,
75  PARS_DISTINCT_TOKEN = 293,
76  PARS_FROM_TOKEN = 294,
77  PARS_WHERE_TOKEN = 295,
78  PARS_FOR_TOKEN = 296,
79  PARS_DDOT_TOKEN = 297,
80  PARS_READ_TOKEN = 298,
81  PARS_ORDER_TOKEN = 299,
82  PARS_BY_TOKEN = 300,
83  PARS_ASC_TOKEN = 301,
84  PARS_DESC_TOKEN = 302,
85  PARS_INSERT_TOKEN = 303,
86  PARS_INTO_TOKEN = 304,
87  PARS_VALUES_TOKEN = 305,
88  PARS_UPDATE_TOKEN = 306,
89  PARS_SET_TOKEN = 307,
90  PARS_DELETE_TOKEN = 308,
91  PARS_CURRENT_TOKEN = 309,
92  PARS_OF_TOKEN = 310,
93  PARS_CREATE_TOKEN = 311,
94  PARS_TABLE_TOKEN = 312,
95  PARS_INDEX_TOKEN = 313,
96  PARS_UNIQUE_TOKEN = 314,
97  PARS_CLUSTERED_TOKEN = 315,
98  PARS_DOES_NOT_FIT_IN_MEM_TOKEN = 316,
99  PARS_ON_TOKEN = 317,
100  PARS_ASSIGN_TOKEN = 318,
101  PARS_DECLARE_TOKEN = 319,
102  PARS_CURSOR_TOKEN = 320,
103  PARS_SQL_TOKEN = 321,
104  PARS_OPEN_TOKEN = 322,
105  PARS_FETCH_TOKEN = 323,
106  PARS_CLOSE_TOKEN = 324,
107  PARS_NOTFOUND_TOKEN = 325,
108  PARS_TO_CHAR_TOKEN = 326,
109  PARS_TO_NUMBER_TOKEN = 327,
110  PARS_TO_BINARY_TOKEN = 328,
111  PARS_BINARY_TO_NUMBER_TOKEN = 329,
112  PARS_SUBSTR_TOKEN = 330,
113  PARS_REPLSTR_TOKEN = 331,
114  PARS_CONCAT_TOKEN = 332,
115  PARS_INSTR_TOKEN = 333,
116  PARS_LENGTH_TOKEN = 334,
117  PARS_SYSDATE_TOKEN = 335,
118  PARS_PRINTF_TOKEN = 336,
119  PARS_ASSERT_TOKEN = 337,
120  PARS_RND_TOKEN = 338,
121  PARS_RND_STR_TOKEN = 339,
122  PARS_ROW_PRINTF_TOKEN = 340,
123  PARS_COMMIT_TOKEN = 341,
124  PARS_ROLLBACK_TOKEN = 342,
125  PARS_WORK_TOKEN = 343,
126  PARS_UNSIGNED_TOKEN = 344,
127  PARS_EXIT_TOKEN = 345,
128  PARS_FUNCTION_TOKEN = 346,
129  PARS_LOCK_TOKEN = 347,
130  PARS_SHARE_TOKEN = 348,
131  PARS_MODE_TOKEN = 349,
132  NEG = 350
133  };
134 #endif
135 /* Tokens. */
136 #define PARS_INT_LIT 258
137 #define PARS_FLOAT_LIT 259
138 #define PARS_STR_LIT 260
139 #define PARS_FIXBINARY_LIT 261
140 #define PARS_BLOB_LIT 262
141 #define PARS_NULL_LIT 263
142 #define PARS_ID_TOKEN 264
143 #define PARS_AND_TOKEN 265
144 #define PARS_OR_TOKEN 266
145 #define PARS_NOT_TOKEN 267
146 #define PARS_GE_TOKEN 268
147 #define PARS_LE_TOKEN 269
148 #define PARS_NE_TOKEN 270
149 #define PARS_PROCEDURE_TOKEN 271
150 #define PARS_IN_TOKEN 272
151 #define PARS_OUT_TOKEN 273
152 #define PARS_BINARY_TOKEN 274
153 #define PARS_BLOB_TOKEN 275
154 #define PARS_INT_TOKEN 276
155 #define PARS_INTEGER_TOKEN 277
156 #define PARS_FLOAT_TOKEN 278
157 #define PARS_CHAR_TOKEN 279
158 #define PARS_IS_TOKEN 280
159 #define PARS_BEGIN_TOKEN 281
160 #define PARS_END_TOKEN 282
161 #define PARS_IF_TOKEN 283
162 #define PARS_THEN_TOKEN 284
163 #define PARS_ELSE_TOKEN 285
164 #define PARS_ELSIF_TOKEN 286
165 #define PARS_LOOP_TOKEN 287
166 #define PARS_WHILE_TOKEN 288
167 #define PARS_RETURN_TOKEN 289
168 #define PARS_SELECT_TOKEN 290
169 #define PARS_SUM_TOKEN 291
170 #define PARS_COUNT_TOKEN 292
171 #define PARS_DISTINCT_TOKEN 293
172 #define PARS_FROM_TOKEN 294
173 #define PARS_WHERE_TOKEN 295
174 #define PARS_FOR_TOKEN 296
175 #define PARS_DDOT_TOKEN 297
176 #define PARS_READ_TOKEN 298
177 #define PARS_ORDER_TOKEN 299
178 #define PARS_BY_TOKEN 300
179 #define PARS_ASC_TOKEN 301
180 #define PARS_DESC_TOKEN 302
181 #define PARS_INSERT_TOKEN 303
182 #define PARS_INTO_TOKEN 304
183 #define PARS_VALUES_TOKEN 305
184 #define PARS_UPDATE_TOKEN 306
185 #define PARS_SET_TOKEN 307
186 #define PARS_DELETE_TOKEN 308
187 #define PARS_CURRENT_TOKEN 309
188 #define PARS_OF_TOKEN 310
189 #define PARS_CREATE_TOKEN 311
190 #define PARS_TABLE_TOKEN 312
191 #define PARS_INDEX_TOKEN 313
192 #define PARS_UNIQUE_TOKEN 314
193 #define PARS_CLUSTERED_TOKEN 315
194 #define PARS_DOES_NOT_FIT_IN_MEM_TOKEN 316
195 #define PARS_ON_TOKEN 317
196 #define PARS_ASSIGN_TOKEN 318
197 #define PARS_DECLARE_TOKEN 319
198 #define PARS_CURSOR_TOKEN 320
199 #define PARS_SQL_TOKEN 321
200 #define PARS_OPEN_TOKEN 322
201 #define PARS_FETCH_TOKEN 323
202 #define PARS_CLOSE_TOKEN 324
203 #define PARS_NOTFOUND_TOKEN 325
204 #define PARS_TO_CHAR_TOKEN 326
205 #define PARS_TO_NUMBER_TOKEN 327
206 #define PARS_TO_BINARY_TOKEN 328
207 #define PARS_BINARY_TO_NUMBER_TOKEN 329
208 #define PARS_SUBSTR_TOKEN 330
209 #define PARS_REPLSTR_TOKEN 331
210 #define PARS_CONCAT_TOKEN 332
211 #define PARS_INSTR_TOKEN 333
212 #define PARS_LENGTH_TOKEN 334
213 #define PARS_SYSDATE_TOKEN 335
214 #define PARS_PRINTF_TOKEN 336
215 #define PARS_ASSERT_TOKEN 337
216 #define PARS_RND_TOKEN 338
217 #define PARS_RND_STR_TOKEN 339
218 #define PARS_ROW_PRINTF_TOKEN 340
219 #define PARS_COMMIT_TOKEN 341
220 #define PARS_ROLLBACK_TOKEN 342
221 #define PARS_WORK_TOKEN 343
222 #define PARS_UNSIGNED_TOKEN 344
223 #define PARS_EXIT_TOKEN 345
224 #define PARS_FUNCTION_TOKEN 346
225 #define PARS_LOCK_TOKEN 347
226 #define PARS_SHARE_TOKEN 348
227 #define PARS_MODE_TOKEN 349
228 #define NEG 350
229 
230 
231 
232 
233 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
234 typedef int YYSTYPE;
235 # define YYSTYPE_IS_TRIVIAL 1
236 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
237 # define YYSTYPE_IS_DECLARED 1
238 #endif
239 
240 extern YYSTYPE yylval;
241 
242