BadgerDB
/afs/cs.wisc.edu/u/n/w/nwilliam/private/workspace/Quut/src/parser/SqlParser_gen.h
00001 /* A Bison parser, made by GNU Bison 2.3.  */
00002 
00003 /* Skeleton interface for Bison's Yacc-like parsers in C
00004 
00005    Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
00006    Free Software Foundation, Inc.
00007 
00008    This program is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU General Public License as published by
00010    the Free Software Foundation; either version 2, or (at your option)
00011    any later version.
00012 
00013    This program is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016    GNU General Public License for more details.
00017 
00018    You should have received a copy of the GNU General Public License
00019    along with this program; if not, write to the Free Software
00020    Foundation, Inc., 51 Franklin Street, Fifth Floor,
00021    Boston, MA 02110-1301, USA.  */
00022 
00023 /* As a special exception, you may create a larger work that contains
00024    part or all of the Bison parser skeleton and distribute that work
00025    under terms of your choice, so long as that work isn't itself a
00026    parser generator using the skeleton or a modified version thereof
00027    as a parser skeleton.  Alternatively, if you modify or redistribute
00028    the parser skeleton itself, you may (at your option) remove this
00029    special exception, which will cause the skeleton and the resulting
00030    Bison output files to be licensed under the GNU General Public
00031    License without this special exception.
00032 
00033    This special exception was added by the Free Software Foundation in
00034    version 2.2 of Bison.  */
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      PTOK_NAME = 258,
00043      PTOK_STRING = 259,
00044      PTOK_INTNUM = 260,
00045      PTOK_DOUBLE = 261,
00046      PTOK_PARAMETER = 262,
00047      PTOK_QSTRING = 263,
00048      PTOK_OR = 264,
00049      PTOK_AND = 265,
00050      PTOK_NOT = 266,
00051      PTOK_GEQ = 267,
00052      PTOK_GT = 268,
00053      PTOK_LEQ = 269,
00054      PTOK_LT = 270,
00055      PTOK_NEQ = 271,
00056      PTOK_EQ = 272,
00057      PTOK_UMINUS = 273,
00058      PTOK_ALL = 274,
00059      PTOK_ANY = 275,
00060      PTOK_ASC = 276,
00061      PTOK_BETWEEN = 277,
00062      PTOK_BY = 278,
00063      PTOK_CHARACTER = 279,
00064      PTOK_CHECK = 280,
00065      PTOK_CREATE = 281,
00066      PTOK_DECIMAL = 282,
00067      PTOK_DEFAULT = 283,
00068      PTOK_DELETE = 284,
00069      PTOK_DESC = 285,
00070      PTOK_DISTINCT = 286,
00071      PTOK_ESCAPE = 287,
00072      PTOK_EXISTS = 288,
00073      PTOK_FLOAT = 289,
00074      PTOK_FOREIGN = 290,
00075      PTOK_FROM = 291,
00076      PTOK_GROUP = 292,
00077      PTOK_HAVING = 293,
00078      PTOK_IN = 294,
00079      PTOK_INDICATOR = 295,
00080      PTOK_INSERT = 296,
00081      PTOK_INTEGER = 297,
00082      PTOK_INTO = 298,
00083      PTOK_IS = 299,
00084      PTOK_KEY = 300,
00085      PTOK_LIKE = 301,
00086      PTOK_LOAD = 302,
00087      PTOK_NULLX = 303,
00088      PTOK_NUMERIC = 304,
00089      PTOK_ = 305,
00090      PTOK_ORDER = 306,
00091      PTOK_PRECISION = 307,
00092      PTOK_PRIMARY = 308,
00093      PTOK_REAL = 309,
00094      PTOK_REFERENCES = 310,
00095      PTOK_SELECT = 311,
00096      PTOK_SET = 312,
00097      PTOK_SMALLINT = 313,
00098      PTOK_SOME = 314,
00099      PTOK_TABLE = 315,
00100      PTOK_UNION = 316,
00101      PTOK_UNIQUE = 317,
00102      PTOK_UPDATE = 318,
00103      PTOK_USER = 319,
00104      PTOK_VALUES = 320,
00105      PTOK_WHERE = 321,
00106      PTOK_DROP = 322,
00107      PTOK_EOF = 323,
00108      PTOK_AVG = 324,
00109      PTOK_COUNT = 325,
00110      PTOK_MIN = 326,
00111      PTOK_MAX = 327,
00112      PTOK_SUM = 328,
00113      PTOK_HASH = 329,
00114      PTOK_BTREE = 330,
00115      PTOK_INDEX = 331
00116    };
00117 #endif
00118 /* Tokens.  */
00119 #define PTOK_NAME 258
00120 #define PTOK_STRING 259
00121 #define PTOK_INTNUM 260
00122 #define PTOK_DOUBLE 261
00123 #define PTOK_PARAMETER 262
00124 #define PTOK_QSTRING 263
00125 #define PTOK_OR 264
00126 #define PTOK_AND 265
00127 #define PTOK_NOT 266
00128 #define PTOK_GEQ 267
00129 #define PTOK_GT 268
00130 #define PTOK_LEQ 269
00131 #define PTOK_LT 270
00132 #define PTOK_NEQ 271
00133 #define PTOK_EQ 272
00134 #define PTOK_UMINUS 273
00135 #define PTOK_ALL 274
00136 #define PTOK_ANY 275
00137 #define PTOK_ASC 276
00138 #define PTOK_BETWEEN 277
00139 #define PTOK_BY 278
00140 #define PTOK_CHARACTER 279
00141 #define PTOK_CHECK 280
00142 #define PTOK_CREATE 281
00143 #define PTOK_DECIMAL 282
00144 #define PTOK_DEFAULT 283
00145 #define PTOK_DELETE 284
00146 #define PTOK_DESC 285
00147 #define PTOK_DISTINCT 286
00148 #define PTOK_ESCAPE 287
00149 #define PTOK_EXISTS 288
00150 #define PTOK_FLOAT 289
00151 #define PTOK_FOREIGN 290
00152 #define PTOK_FROM 291
00153 #define PTOK_GROUP 292
00154 #define PTOK_HAVING 293
00155 #define PTOK_IN 294
00156 #define PTOK_INDICATOR 295
00157 #define PTOK_INSERT 296
00158 #define PTOK_INTEGER 297
00159 #define PTOK_INTO 298
00160 #define PTOK_IS 299
00161 #define PTOK_KEY 300
00162 #define PTOK_LIKE 301
00163 #define PTOK_LOAD 302
00164 #define PTOK_NULLX 303
00165 #define PTOK_NUMERIC 304
00166 #define PTOK_ 305
00167 #define PTOK_ORDER 306
00168 #define PTOK_PRECISION 307
00169 #define PTOK_PRIMARY 308
00170 #define PTOK_REAL 309
00171 #define PTOK_REFERENCES 310
00172 #define PTOK_SELECT 311
00173 #define PTOK_SET 312
00174 #define PTOK_SMALLINT 313
00175 #define PTOK_SOME 314
00176 #define PTOK_TABLE 315
00177 #define PTOK_UNION 316
00178 #define PTOK_UNIQUE 317
00179 #define PTOK_UPDATE 318
00180 #define PTOK_USER 319
00181 #define PTOK_VALUES 320
00182 #define PTOK_WHERE 321
00183 #define PTOK_DROP 322
00184 #define PTOK_EOF 323
00185 #define PTOK_AVG 324
00186 #define PTOK_COUNT 325
00187 #define PTOK_MIN 326
00188 #define PTOK_MAX 327
00189 #define PTOK_SUM 328
00190 #define PTOK_HASH 329
00191 #define PTOK_BTREE 330
00192 #define PTOK_INDEX 331
00193 
00194 
00195 
00196 
00197 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00198 typedef union YYSTYPE
00199 #line 38 "SqlParser.y"
00200 {
00201   int intVal;
00202   double dblVal;
00203   char *strVal;
00204   char typeVal;
00205   int subTok;
00206   PxxPnode *pTree;
00207 }
00208 /* Line 1529 of yacc.c.  */
00209 #line 210 "y.tab.h"
00210   YYSTYPE;
00211 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00212 # define YYSTYPE_IS_DECLARED 1
00213 # define YYSTYPE_IS_TRIVIAL 1
00214 #endif
00215 
00216 extern YYSTYPE yylval;
00217 
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends