parse.h

Go to the documentation of this file.
00001 /* A Bison parser, made by GNU Bison 2.5.  */
00002 
00003 /* Bison interface for Yacc-like parsers in C
00004    
00005       Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
00006    
00007    This program is free software: you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation, either version 3 of the License, or
00010    (at your option) any later version.
00011    
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016    
00017    You should have received a copy of the GNU General Public License
00018    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00019 
00020 /* As a special exception, you may create a larger work that contains
00021    part or all of the Bison parser skeleton and distribute that work
00022    under terms of your choice, so long as that work isn't itself a
00023    parser generator using the skeleton or a modified version thereof
00024    as a parser skeleton.  Alternatively, if you modify or redistribute
00025    the parser skeleton itself, you may (at your option) remove this
00026    special exception, which will cause the skeleton and the resulting
00027    Bison output files to be licensed under the GNU General Public
00028    License without this special exception.
00029    
00030    This special exception was added by the Free Software Foundation in
00031    version 2.2 of Bison.  */
00032 
00033 
00034 /* Tokens.  */
00035 #ifndef YYTOKENTYPE
00036 # define YYTOKENTYPE
00037    /* Put the tokens into the symbol table, so that GDB and other debuggers
00038       know about them.  */
00039    enum yytokentype {
00040      END_OF_INPUT = 0,
00041      keyword_class = 258,
00042      keyword_module = 259,
00043      keyword_def = 260,
00044      keyword_undef = 261,
00045      keyword_begin = 262,
00046      keyword_rescue = 263,
00047      keyword_ensure = 264,
00048      keyword_end = 265,
00049      keyword_if = 266,
00050      keyword_unless = 267,
00051      keyword_then = 268,
00052      keyword_elsif = 269,
00053      keyword_else = 270,
00054      keyword_case = 271,
00055      keyword_when = 272,
00056      keyword_while = 273,
00057      keyword_until = 274,
00058      keyword_for = 275,
00059      keyword_break = 276,
00060      keyword_next = 277,
00061      keyword_redo = 278,
00062      keyword_retry = 279,
00063      keyword_in = 280,
00064      keyword_do = 281,
00065      keyword_do_cond = 282,
00066      keyword_do_block = 283,
00067      keyword_do_LAMBDA = 284,
00068      keyword_return = 285,
00069      keyword_yield = 286,
00070      keyword_super = 287,
00071      keyword_self = 288,
00072      keyword_nil = 289,
00073      keyword_true = 290,
00074      keyword_false = 291,
00075      keyword_and = 292,
00076      keyword_or = 293,
00077      keyword_not = 294,
00078      modifier_if = 295,
00079      modifier_unless = 296,
00080      modifier_while = 297,
00081      modifier_until = 298,
00082      modifier_rescue = 299,
00083      keyword_alias = 300,
00084      keyword_defined = 301,
00085      keyword_BEGIN = 302,
00086      keyword_END = 303,
00087      keyword__LINE__ = 304,
00088      keyword__FILE__ = 305,
00089      keyword__ENCODING__ = 306,
00090      tIDENTIFIER = 307,
00091      tFID = 308,
00092      tGVAR = 309,
00093      tIVAR = 310,
00094      tCONSTANT = 311,
00095      tCVAR = 312,
00096      tLABEL = 313,
00097      tINTEGER = 314,
00098      tFLOAT = 315,
00099      tRATIONAL = 316,
00100      tIMAGINARY = 317,
00101      tSTRING_CONTENT = 318,
00102      tCHAR = 319,
00103      tNTH_REF = 320,
00104      tBACK_REF = 321,
00105      tREGEXP_END = 322,
00106      tUPLUS = 130,
00107      tUMINUS = 131,
00108      tPOW = 132,
00109      tCMP = 134,
00110      tEQ = 139,
00111      tEQQ = 140,
00112      tNEQ = 141,
00113      tGEQ = 138,
00114      tLEQ = 137,
00115      tANDOP = 323,
00116      tOROP = 324,
00117      tMATCH = 142,
00118      tNMATCH = 143,
00119      tDOT2 = 128,
00120      tDOT3 = 129,
00121      tAREF = 144,
00122      tASET = 145,
00123      tLSHFT = 135,
00124      tRSHFT = 136,
00125      tCOLON2 = 325,
00126      tCOLON3 = 326,
00127      tOP_ASGN = 327,
00128      tASSOC = 328,
00129      tLPAREN = 329,
00130      tLPAREN_ARG = 330,
00131      tRPAREN = 331,
00132      tLBRACK = 332,
00133      tLBRACE = 333,
00134      tLBRACE_ARG = 334,
00135      tSTAR = 335,
00136      tDSTAR = 336,
00137      tAMPER = 337,
00138      tLAMBDA = 338,
00139      tSYMBEG = 339,
00140      tSTRING_BEG = 340,
00141      tXSTRING_BEG = 341,
00142      tREGEXP_BEG = 342,
00143      tWORDS_BEG = 343,
00144      tQWORDS_BEG = 344,
00145      tSYMBOLS_BEG = 345,
00146      tQSYMBOLS_BEG = 346,
00147      tSTRING_DBEG = 347,
00148      tSTRING_DEND = 348,
00149      tSTRING_DVAR = 349,
00150      tSTRING_END = 350,
00151      tLAMBEG = 351,
00152      tLOWEST = 352,
00153      tUMINUS_NUM = 353,
00154      tLAST_TOKEN = 354
00155    };
00156 #endif
00157 
00158 
00159 
00160 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
00161 typedef union YYSTYPE
00162 {
00163 
00164 /* Line 2068 of yacc.c  */
00165 
00166     VALUE val;
00167     NODE *node;
00168     ID id;
00169     int num;
00170     const struct vtable *vars;
00171 
00172 
00173 
00174 /* Line 2068 of yacc.c  */
00175 } YYSTYPE;
00176 # define YYSTYPE_IS_TRIVIAL 1
00177 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
00178 # define YYSTYPE_IS_DECLARED 1
00179 #endif
00180 
00181 
00182 
00183 
00184 

Generated on 19 Jul 2016 for Ruby by  doxygen 1.4.7