/home/cern/BDSIM_new/parser/parser.tab.h

00001 #ifndef YY_parse_h_included
00002 #define YY_parse_h_included
00003 /*#define YY_USE_CLASS 
00004 */
00005 #line 1 "/usr/share/bison++/bison.h"
00006 /* before anything */
00007 #ifdef c_plusplus
00008  #ifndef __cplusplus
00009   #define __cplusplus
00010  #endif
00011 #endif
00012 
00013 
00014  #line 8 "/usr/share/bison++/bison.h"
00015 
00016 #line 29 "parser.y"
00017 typedef union{
00018   double dval;
00019   int ival;
00020   struct symtab *symp;
00021   char *str;
00022   struct Array *array;
00023 } yy_parse_stype;
00024 #define YY_parse_STYPE yy_parse_stype
00025 #ifndef YY_USE_CLASS
00026 #define YYSTYPE yy_parse_stype
00027 #endif
00028 
00029 #line 21 "/usr/share/bison++/bison.h"
00030  /* %{ and %header{ and %union, during decl */
00031 #ifndef YY_parse_COMPATIBILITY
00032  #ifndef YY_USE_CLASS
00033   #define  YY_parse_COMPATIBILITY 1
00034  #else
00035   #define  YY_parse_COMPATIBILITY 0
00036  #endif
00037 #endif
00038 
00039 #if YY_parse_COMPATIBILITY != 0
00040 /* backward compatibility */
00041  #ifdef YYLTYPE
00042   #ifndef YY_parse_LTYPE
00043    #define YY_parse_LTYPE YYLTYPE
00044 /* WARNING obsolete !!! user defined YYLTYPE not reported into generated header */
00045 /* use %define LTYPE */
00046   #endif
00047  #endif
00048 /*#ifdef YYSTYPE*/
00049   #ifndef YY_parse_STYPE
00050    #define YY_parse_STYPE YYSTYPE
00051   /* WARNING obsolete !!! user defined YYSTYPE not reported into generated header */
00052    /* use %define STYPE */
00053   #endif
00054 /*#endif*/
00055  #ifdef YYDEBUG
00056   #ifndef YY_parse_DEBUG
00057    #define  YY_parse_DEBUG YYDEBUG
00058    /* WARNING obsolete !!! user defined YYDEBUG not reported into generated header */
00059    /* use %define DEBUG */
00060   #endif
00061  #endif 
00062  /* use goto to be compatible */
00063  #ifndef YY_parse_USE_GOTO
00064   #define YY_parse_USE_GOTO 1
00065  #endif
00066 #endif
00067 
00068 /* use no goto to be clean in C++ */
00069 #ifndef YY_parse_USE_GOTO
00070  #define YY_parse_USE_GOTO 0
00071 #endif
00072 
00073 #ifndef YY_parse_PURE
00074 
00075  #line 65 "/usr/share/bison++/bison.h"
00076 
00077 #line 65 "/usr/share/bison++/bison.h"
00078 /* YY_parse_PURE */
00079 #endif
00080 
00081 
00082  #line 68 "/usr/share/bison++/bison.h"
00083 
00084 #line 68 "/usr/share/bison++/bison.h"
00085 /* prefix */
00086 
00087 #ifndef YY_parse_DEBUG
00088 
00089  #line 71 "/usr/share/bison++/bison.h"
00090 
00091 #line 71 "/usr/share/bison++/bison.h"
00092 /* YY_parse_DEBUG */
00093 #endif
00094 
00095 #ifndef YY_parse_LSP_NEEDED
00096 
00097  #line 75 "/usr/share/bison++/bison.h"
00098 
00099 #line 75 "/usr/share/bison++/bison.h"
00100  /* YY_parse_LSP_NEEDED*/
00101 #endif
00102 
00103 /* DEFAULT LTYPE*/
00104 #ifdef YY_parse_LSP_NEEDED
00105  #ifndef YY_parse_LTYPE
00106   #ifndef BISON_YYLTYPE_ISDECLARED
00107    #define BISON_YYLTYPE_ISDECLARED
00108 typedef
00109   struct yyltype
00110     {
00111       int timestamp;
00112       int first_line;
00113       int first_column;
00114       int last_line;
00115       int last_column;
00116       char *text;
00117    }
00118   yyltype;
00119   #endif
00120 
00121   #define YY_parse_LTYPE yyltype
00122  #endif
00123 #endif
00124 
00125 /* DEFAULT STYPE*/
00126 #ifndef YY_parse_STYPE
00127  #define YY_parse_STYPE int
00128 #endif
00129 
00130 /* DEFAULT MISCELANEOUS */
00131 #ifndef YY_parse_PARSE
00132  #define YY_parse_PARSE yyparse
00133 #endif
00134 
00135 #ifndef YY_parse_LEX
00136  #define YY_parse_LEX yylex
00137 #endif
00138 
00139 #ifndef YY_parse_LVAL
00140  #define YY_parse_LVAL yylval
00141 #endif
00142 
00143 #ifndef YY_parse_LLOC
00144  #define YY_parse_LLOC yylloc
00145 #endif
00146 
00147 #ifndef YY_parse_CHAR
00148  #define YY_parse_CHAR yychar
00149 #endif
00150 
00151 #ifndef YY_parse_NERRS
00152  #define YY_parse_NERRS yynerrs
00153 #endif
00154 
00155 #ifndef YY_parse_DEBUG_FLAG
00156  #define YY_parse_DEBUG_FLAG yydebug
00157 #endif
00158 
00159 #ifndef YY_parse_ERROR
00160  #define YY_parse_ERROR yyerror
00161 #endif
00162 
00163 #ifndef YY_parse_PARSE_PARAM
00164  #ifndef __STDC__
00165   #ifndef __cplusplus
00166    #ifndef YY_USE_CLASS
00167     #define YY_parse_PARSE_PARAM
00168     #ifndef YY_parse_PARSE_PARAM_DEF
00169      #define YY_parse_PARSE_PARAM_DEF
00170     #endif
00171    #endif
00172   #endif
00173  #endif
00174  #ifndef YY_parse_PARSE_PARAM
00175   #define YY_parse_PARSE_PARAM void
00176  #endif
00177 #endif
00178 
00179 /* TOKEN C */
00180 #ifndef YY_USE_CLASS
00181 
00182  #ifndef YY_parse_PURE
00183   #ifndef yylval
00184    extern YY_parse_STYPE YY_parse_LVAL;
00185   #else
00186    #if yylval != YY_parse_LVAL
00187     extern YY_parse_STYPE YY_parse_LVAL;
00188    #else
00189     #warning "Namespace conflict, disabling some functionality (bison++ only)"
00190    #endif
00191   #endif
00192  #endif
00193 
00194 
00195  #line 169 "/usr/share/bison++/bison.h"
00196 #define NE      258
00197 #define LE      259
00198 #define GE      260
00199 #define EQ      261
00200 #define UMINUS  262
00201 #define UPLUS   263
00202 #define NUMBER  264
00203 #define VARIABLE        265
00204 #define VECVAR  266
00205 #define FUNC    267
00206 #define STR     268
00207 #define MARKER  269
00208 #define ELEMENT 270
00209 #define DRIFT   271
00210 #define RF      272
00211 #define DIPOLE  273
00212 #define RBEND   274
00213 #define SBEND   275
00214 #define QUADRUPOLE      276
00215 #define SEXTUPOLE       277
00216 #define OCTUPOLE        278
00217 #define MULTIPOLE       279
00218 #define SOLENOID        280
00219 #define COLLIMATOR      281
00220 #define RCOL    282
00221 #define ECOL    283
00222 #define LINE    284
00223 #define SEQUENCE        285
00224 #define SPOILER 286
00225 #define ABSORBER        287
00226 #define LASER   288
00227 #define TRANSFORM3D     289
00228 #define VKICK   290
00229 #define HKICK   291
00230 #define KICK    292
00231 #define PERIOD  293
00232 #define APERTURE        294
00233 #define FILENAME        295
00234 #define GAS     296
00235 #define PIPE    297
00236 #define TUNNEL  298
00237 #define MATERIAL        299
00238 #define ATOM    300
00239 #define BEAM    301
00240 #define OPTION  302
00241 #define PRINT   303
00242 #define RANGE   304
00243 #define STOP    305
00244 #define USE     306
00245 #define VALUE   307
00246 #define ECHO    308
00247 #define PRINTF  309
00248 #define SAMPLE  310
00249 #define CSAMPLE 311
00250 #define BETA0   312
00251 #define TWISS   313
00252 #define DUMP    314
00253 #define IF      315
00254 #define ELSE    316
00255 #define BEGN    317
00256 #define END     318
00257 #define FOR     319
00258 #define CUT     320
00259 
00260 
00261 #line 169 "/usr/share/bison++/bison.h"
00262  /* #defines token */
00263 /* after #define tokens, before const tokens S5*/
00264 #else
00265  #ifndef YY_parse_CLASS
00266   #define YY_parse_CLASS parse
00267  #endif
00268 
00269  #ifndef YY_parse_INHERIT
00270   #define YY_parse_INHERIT
00271  #endif
00272 
00273  #ifndef YY_parse_MEMBERS
00274   #define YY_parse_MEMBERS 
00275  #endif
00276 
00277  #ifndef YY_parse_LEX_BODY
00278   #define YY_parse_LEX_BODY  
00279  #endif
00280 
00281  #ifndef YY_parse_ERROR_BODY
00282   #define YY_parse_ERROR_BODY  
00283  #endif
00284 
00285  #ifndef YY_parse_CONSTRUCTOR_PARAM
00286   #define YY_parse_CONSTRUCTOR_PARAM
00287  #endif
00288  /* choose between enum and const */
00289  #ifndef YY_parse_USE_CONST_TOKEN
00290   #define YY_parse_USE_CONST_TOKEN 0
00291   /* yes enum is more compatible with flex,  */
00292   /* so by default we use it */ 
00293  #endif
00294  #if YY_parse_USE_CONST_TOKEN != 0
00295   #ifndef YY_parse_ENUM_TOKEN
00296    #define YY_parse_ENUM_TOKEN yy_parse_enum_token
00297   #endif
00298  #endif
00299 
00300 class YY_parse_CLASS YY_parse_INHERIT
00301 {
00302 public: 
00303  #if YY_parse_USE_CONST_TOKEN != 0
00304   /* static const int token ... */
00305   
00306  #line 212 "/usr/share/bison++/bison.h"
00307 static const int NE;
00308 static const int LE;
00309 static const int GE;
00310 static const int EQ;
00311 static const int UMINUS;
00312 static const int UPLUS;
00313 static const int NUMBER;
00314 static const int VARIABLE;
00315 static const int VECVAR;
00316 static const int FUNC;
00317 static const int STR;
00318 static const int MARKER;
00319 static const int ELEMENT;
00320 static const int DRIFT;
00321 static const int RF;
00322 static const int DIPOLE;
00323 static const int RBEND;
00324 static const int SBEND;
00325 static const int QUADRUPOLE;
00326 static const int SEXTUPOLE;
00327 static const int OCTUPOLE;
00328 static const int MULTIPOLE;
00329 static const int SOLENOID;
00330 static const int COLLIMATOR;
00331 static const int RCOL;
00332 static const int ECOL;
00333 static const int LINE;
00334 static const int SEQUENCE;
00335 static const int SPOILER;
00336 static const int ABSORBER;
00337 static const int LASER;
00338 static const int TRANSFORM3D;
00339 static const int VKICK;
00340 static const int HKICK;
00341 static const int KICK;
00342 static const int PERIOD;
00343 static const int APERTURE;
00344 static const int FILENAME;
00345 static const int GAS;
00346 static const int PIPE;
00347 static const int TUNNEL;
00348 static const int MATERIAL;
00349 static const int ATOM;
00350 static const int BEAM;
00351 static const int OPTION;
00352 static const int PRINT;
00353 static const int RANGE;
00354 static const int STOP;
00355 static const int USE;
00356 static const int VALUE;
00357 static const int ECHO;
00358 static const int PRINTF;
00359 static const int SAMPLE;
00360 static const int CSAMPLE;
00361 static const int BETA0;
00362 static const int TWISS;
00363 static const int DUMP;
00364 static const int IF;
00365 static const int ELSE;
00366 static const int BEGN;
00367 static const int END;
00368 static const int FOR;
00369 static const int CUT;
00370 
00371 
00372 #line 212 "/usr/share/bison++/bison.h"
00373  /* decl const */
00374  #else
00375   enum YY_parse_ENUM_TOKEN { YY_parse_NULL_TOKEN=0
00376   
00377  #line 215 "/usr/share/bison++/bison.h"
00378         ,NE=258
00379         ,LE=259
00380         ,GE=260
00381         ,EQ=261
00382         ,UMINUS=262
00383         ,UPLUS=263
00384         ,NUMBER=264
00385         ,VARIABLE=265
00386         ,VECVAR=266
00387         ,FUNC=267
00388         ,STR=268
00389         ,MARKER=269
00390         ,ELEMENT=270
00391         ,DRIFT=271
00392         ,RF=272
00393         ,DIPOLE=273
00394         ,RBEND=274
00395         ,SBEND=275
00396         ,QUADRUPOLE=276
00397         ,SEXTUPOLE=277
00398         ,OCTUPOLE=278
00399         ,MULTIPOLE=279
00400         ,SOLENOID=280
00401         ,COLLIMATOR=281
00402         ,RCOL=282
00403         ,ECOL=283
00404         ,LINE=284
00405         ,SEQUENCE=285
00406         ,SPOILER=286
00407         ,ABSORBER=287
00408         ,LASER=288
00409         ,TRANSFORM3D=289
00410         ,VKICK=290
00411         ,HKICK=291
00412         ,KICK=292
00413         ,PERIOD=293
00414         ,APERTURE=294
00415         ,FILENAME=295
00416         ,GAS=296
00417         ,PIPE=297
00418         ,TUNNEL=298
00419         ,MATERIAL=299
00420         ,ATOM=300
00421         ,BEAM=301
00422         ,OPTION=302
00423         ,PRINT=303
00424         ,RANGE=304
00425         ,STOP=305
00426         ,USE=306
00427         ,VALUE=307
00428         ,ECHO=308
00429         ,PRINTF=309
00430         ,SAMPLE=310
00431         ,CSAMPLE=311
00432         ,BETA0=312
00433         ,TWISS=313
00434         ,DUMP=314
00435         ,IF=315
00436         ,ELSE=316
00437         ,BEGN=317
00438         ,END=318
00439         ,FOR=319
00440         ,CUT=320
00441 
00442 
00443 #line 215 "/usr/share/bison++/bison.h"
00444  /* enum token */
00445      }; /* end of enum declaration */
00446  #endif
00447 public:
00448  int YY_parse_PARSE(YY_parse_PARSE_PARAM);
00449  virtual void YY_parse_ERROR(char *msg) YY_parse_ERROR_BODY;
00450  #ifdef YY_parse_PURE
00451   #ifdef YY_parse_LSP_NEEDED
00452    virtual int  YY_parse_LEX(YY_parse_STYPE *YY_parse_LVAL,YY_parse_LTYPE *YY_parse_LLOC) YY_parse_LEX_BODY;
00453   #else
00454    virtual int  YY_parse_LEX(YY_parse_STYPE *YY_parse_LVAL) YY_parse_LEX_BODY;
00455   #endif
00456  #else
00457   virtual int YY_parse_LEX() YY_parse_LEX_BODY;
00458   YY_parse_STYPE YY_parse_LVAL;
00459   #ifdef YY_parse_LSP_NEEDED
00460    YY_parse_LTYPE YY_parse_LLOC;
00461   #endif
00462   int YY_parse_NERRS;
00463   int YY_parse_CHAR;
00464  #endif
00465  #if YY_parse_DEBUG != 0
00466   public:
00467    int YY_parse_DEBUG_FLAG;     /*  nonzero means print parse trace     */
00468  #endif
00469 public:
00470  YY_parse_CLASS(YY_parse_CONSTRUCTOR_PARAM);
00471 public:
00472  YY_parse_MEMBERS 
00473 };
00474 /* other declare folow */
00475 #endif
00476 
00477 
00478 #if YY_parse_COMPATIBILITY != 0
00479  /* backward compatibility */
00480  /* Removed due to bison problems
00481  /#ifndef YYSTYPE
00482  / #define YYSTYPE YY_parse_STYPE
00483  /#endif*/
00484 
00485  #ifndef YYLTYPE
00486   #define YYLTYPE YY_parse_LTYPE
00487  #endif
00488  #ifndef YYDEBUG
00489   #ifdef YY_parse_DEBUG 
00490    #define YYDEBUG YY_parse_DEBUG
00491   #endif
00492  #endif
00493 
00494 #endif
00495 /* END */
00496 
00497  #line 267 "/usr/share/bison++/bison.h"
00498 #endif

Generated on Wed Mar 5 17:25:22 2008 for BDSIM by  doxygen 1.5.3