Drizzled Public API Documentation

pars0grm.hh

00001 
00002 /* A Bison parser, made by GNU Bison 2.4.1.  */
00003 
00004 /* Skeleton interface for Bison's Yacc-like parsers in C
00005    
00006       Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
00007    Free Software Foundation, Inc.
00008    
00009    This program is free software: you can redistribute it and/or modify
00010    it under the terms of the GNU General Public License as published by
00011    the Free Software Foundation, either version 3 of the License, or
00012    (at your option) any later version.
00013    
00014    This program is distributed in the hope that it will be useful,
00015    but WITHOUT ANY WARRANTY; without even the implied warranty of
00016    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017    GNU General Public License for more details.
00018    
00019    You should have received a copy of the GNU General Public License
00020    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00021 
00022 /* As a special exception, you may create a larger work that contains
00023    part or all of the Bison parser skeleton and distribute that work
00024    under terms of your choice, so long as that work isn't itself a
00025    parser generator using the skeleton or a modified version thereof
00026    as a parser skeleton.  Alternatively, if you modify or redistribute
00027    the parser skeleton itself, you may (at your option) remove this
00028    special exception, which will cause the skeleton and the resulting
00029    Bison output files to be licensed under the GNU General Public
00030    License without this special exception.
00031    
00032    This special exception was added by the Free Software Foundation in
00033    version 2.2 of Bison.  */
00034 
00035 
00036 /* Tokens.  */
00037 #ifndef YYTOKENTYPE
00038 # define YYTOKENTYPE
00039    /* Put the tokens into the symbol table, so that GDB and other debuggers
00040       know about them.  */
00041    enum yytokentype {
00042      PARS_INT_LIT = 258,
00043      PARS_FLOAT_LIT = 259,
00044      PARS_STR_LIT = 260,
00045      PARS_FIXBINARY_LIT = 261,
00046      PARS_BLOB_LIT = 262,
00047      PARS_NULL_LIT = 263,
00048      PARS_ID_TOKEN = 264,
00049      PARS_AND_TOKEN = 265,
00050      PARS_OR_TOKEN = 266,
00051      PARS_NOT_TOKEN = 267,
00052      PARS_GE_TOKEN = 268,
00053      PARS_LE_TOKEN = 269,
00054      PARS_NE_TOKEN = 270,
00055      PARS_PROCEDURE_TOKEN = 271,
00056      PARS_IN_TOKEN = 272,
00057      PARS_OUT_TOKEN = 273,
00058      PARS_BINARY_TOKEN = 274,
00059      PARS_BLOB_TOKEN = 275,
00060      PARS_INT_TOKEN = 276,
00061      PARS_INTEGER_TOKEN = 277,
00062      PARS_FLOAT_TOKEN = 278,
00063      PARS_CHAR_TOKEN = 279,
00064      PARS_IS_TOKEN = 280,
00065      PARS_BEGIN_TOKEN = 281,
00066      PARS_END_TOKEN = 282,
00067      PARS_IF_TOKEN = 283,
00068      PARS_THEN_TOKEN = 284,
00069      PARS_ELSE_TOKEN = 285,
00070      PARS_ELSIF_TOKEN = 286,
00071      PARS_LOOP_TOKEN = 287,
00072      PARS_WHILE_TOKEN = 288,
00073      PARS_RETURN_TOKEN = 289,
00074      PARS_SELECT_TOKEN = 290,
00075      PARS_SUM_TOKEN = 291,
00076      PARS_COUNT_TOKEN = 292,
00077      PARS_DISTINCT_TOKEN = 293,
00078      PARS_FROM_TOKEN = 294,
00079      PARS_WHERE_TOKEN = 295,
00080      PARS_FOR_TOKEN = 296,
00081      PARS_DDOT_TOKEN = 297,
00082      PARS_READ_TOKEN = 298,
00083      PARS_ORDER_TOKEN = 299,
00084      PARS_BY_TOKEN = 300,
00085      PARS_ASC_TOKEN = 301,
00086      PARS_DESC_TOKEN = 302,
00087      PARS_INSERT_TOKEN = 303,
00088      PARS_INTO_TOKEN = 304,
00089      PARS_VALUES_TOKEN = 305,
00090      PARS_UPDATE_TOKEN = 306,
00091      PARS_SET_TOKEN = 307,
00092      PARS_DELETE_TOKEN = 308,
00093      PARS_CURRENT_TOKEN = 309,
00094      PARS_OF_TOKEN = 310,
00095      PARS_CREATE_TOKEN = 311,
00096      PARS_TABLE_TOKEN = 312,
00097      PARS_INDEX_TOKEN = 313,
00098      PARS_UNIQUE_TOKEN = 314,
00099      PARS_CLUSTERED_TOKEN = 315,
00100      PARS_DOES_NOT_FIT_IN_MEM_TOKEN = 316,
00101      PARS_ON_TOKEN = 317,
00102      PARS_ASSIGN_TOKEN = 318,
00103      PARS_DECLARE_TOKEN = 319,
00104      PARS_CURSOR_TOKEN = 320,
00105      PARS_SQL_TOKEN = 321,
00106      PARS_OPEN_TOKEN = 322,
00107      PARS_FETCH_TOKEN = 323,
00108      PARS_CLOSE_TOKEN = 324,
00109      PARS_NOTFOUND_TOKEN = 325,
00110      PARS_TO_CHAR_TOKEN = 326,
00111      PARS_TO_NUMBER_TOKEN = 327,
00112      PARS_TO_BINARY_TOKEN = 328,
00113      PARS_BINARY_TO_NUMBER_TOKEN = 329,
00114      PARS_SUBSTR_TOKEN = 330,
00115      PARS_REPLSTR_TOKEN = 331,
00116      PARS_CONCAT_TOKEN = 332,
00117      PARS_INSTR_TOKEN = 333,
00118      PARS_LENGTH_TOKEN = 334,
00119      PARS_SYSDATE_TOKEN = 335,
00120      PARS_PRINTF_TOKEN = 336,
00121      PARS_ASSERT_TOKEN = 337,
00122      PARS_RND_TOKEN = 338,
00123      PARS_RND_STR_TOKEN = 339,
00124      PARS_ROW_PRINTF_TOKEN = 340,
00125      PARS_COMMIT_TOKEN = 341,
00126      PARS_ROLLBACK_TOKEN = 342,
00127      PARS_WORK_TOKEN = 343,
00128      PARS_UNSIGNED_TOKEN = 344,
00129      PARS_EXIT_TOKEN = 345,
00130      PARS_FUNCTION_TOKEN = 346,
00131      PARS_LOCK_TOKEN = 347,
00132      PARS_SHARE_TOKEN = 348,
00133      PARS_MODE_TOKEN = 349,
00134      NEG = 350
00135    };
00136 #endif
00137 /* Tokens.  */
00138 #define PARS_INT_LIT 258
00139 #define PARS_FLOAT_LIT 259
00140 #define PARS_STR_LIT 260
00141 #define PARS_FIXBINARY_LIT 261
00142 #define PARS_BLOB_LIT 262
00143 #define PARS_NULL_LIT 263
00144 #define PARS_ID_TOKEN 264
00145 #define PARS_AND_TOKEN 265
00146 #define PARS_OR_TOKEN 266
00147 #define PARS_NOT_TOKEN 267
00148 #define PARS_GE_TOKEN 268
00149 #define PARS_LE_TOKEN 269
00150 #define PARS_NE_TOKEN 270
00151 #define PARS_PROCEDURE_TOKEN 271
00152 #define PARS_IN_TOKEN 272
00153 #define PARS_OUT_TOKEN 273
00154 #define PARS_BINARY_TOKEN 274
00155 #define PARS_BLOB_TOKEN 275
00156 #define PARS_INT_TOKEN 276
00157 #define PARS_INTEGER_TOKEN 277
00158 #define PARS_FLOAT_TOKEN 278
00159 #define PARS_CHAR_TOKEN 279
00160 #define PARS_IS_TOKEN 280
00161 #define PARS_BEGIN_TOKEN 281
00162 #define PARS_END_TOKEN 282
00163 #define PARS_IF_TOKEN 283
00164 #define PARS_THEN_TOKEN 284
00165 #define PARS_ELSE_TOKEN 285
00166 #define PARS_ELSIF_TOKEN 286
00167 #define PARS_LOOP_TOKEN 287
00168 #define PARS_WHILE_TOKEN 288
00169 #define PARS_RETURN_TOKEN 289
00170 #define PARS_SELECT_TOKEN 290
00171 #define PARS_SUM_TOKEN 291
00172 #define PARS_COUNT_TOKEN 292
00173 #define PARS_DISTINCT_TOKEN 293
00174 #define PARS_FROM_TOKEN 294
00175 #define PARS_WHERE_TOKEN 295
00176 #define PARS_FOR_TOKEN 296
00177 #define PARS_DDOT_TOKEN 297
00178 #define PARS_READ_TOKEN 298
00179 #define PARS_ORDER_TOKEN 299
00180 #define PARS_BY_TOKEN 300
00181 #define PARS_ASC_TOKEN 301
00182 #define PARS_DESC_TOKEN 302
00183 #define PARS_INSERT_TOKEN 303
00184 #define PARS_INTO_TOKEN 304
00185 #define PARS_VALUES_TOKEN 305
00186 #define PARS_UPDATE_TOKEN 306
00187 #define PARS_SET_TOKEN 307
00188 #define PARS_DELETE_TOKEN 308
00189 #define PARS_CURRENT_TOKEN 309
00190 #define PARS_OF_TOKEN 310
00191 #define PARS_CREATE_TOKEN 311
00192 #define PARS_TABLE_TOKEN 312
00193 #define PARS_INDEX_TOKEN 313
00194 #define PARS_UNIQUE_TOKEN 314
00195 #define PARS_CLUSTERED_TOKEN 315
00196 #define PARS_DOES_NOT_FIT_IN_MEM_TOKEN 316
00197 #define PARS_ON_TOKEN 317
00198 #define PARS_ASSIGN_TOKEN 318
00199 #define PARS_DECLARE_TOKEN 319
00200 #define PARS_CURSOR_TOKEN 320
00201 #define PARS_SQL_TOKEN 321
00202 #define PARS_OPEN_TOKEN 322
00203 #define PARS_FETCH_TOKEN 323
00204 #define PARS_CLOSE_TOKEN 324
00205 #define PARS_NOTFOUND_TOKEN 325
00206 #define PARS_TO_CHAR_TOKEN 326
00207 #define PARS_TO_NUMBER_TOKEN 327
00208 #define PARS_TO_BINARY_TOKEN 328
00209 #define PARS_BINARY_TO_NUMBER_TOKEN 329
00210 #define PARS_SUBSTR_TOKEN 330
00211 #define PARS_REPLSTR_TOKEN 331
00212 #define PARS_CONCAT_TOKEN 332
00213 #define PARS_INSTR_TOKEN 333
00214 #define PARS_LENGTH_TOKEN 334
00215 #define PARS_SYSDATE_TOKEN 335
00216 #define PARS_PRINTF_TOKEN 336
00217 #define PARS_ASSERT_TOKEN 337
00218 #define PARS_RND_TOKEN 338
00219 #define PARS_RND_STR_TOKEN 339
00220 #define PARS_ROW_PRINTF_TOKEN 340
00221 #define PARS_COMMIT_TOKEN 341
00222 #define PARS_ROLLBACK_TOKEN 342
00223 #define PARS_WORK_TOKEN 343
00224 #define PARS_UNSIGNED_TOKEN 344
00225 #define PARS_EXIT_TOKEN 345
00226 #define PARS_FUNCTION_TOKEN 346
00227 #define PARS_LOCK_TOKEN 347
00228 #define PARS_SHARE_TOKEN 348
00229 #define PARS_MODE_TOKEN 349
00230 #define NEG 350
00231 
00232 
00233 
00234 
00235 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00236 typedef int YYSTYPE;
00237 # define YYSTYPE_IS_TRIVIAL 1
00238 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00239 # define YYSTYPE_IS_DECLARED 1
00240 #endif
00241 
00242 extern YYSTYPE yylval;
00243 
00244