|
Ruby 1.9.2p290(2011-07-09revision32553)
|
00001 /* A Bison parser, made by GNU Bison 2.4.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 2009, 2010 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 3 of the License, or 00011 (at your option) 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, see <http://www.gnu.org/licenses/>. */ 00020 00021 /* As a special exception, you may create a larger work that contains 00022 part or all of the Bison parser skeleton and distribute that work 00023 under terms of your choice, so long as that work isn't itself a 00024 parser generator using the skeleton or a modified version thereof 00025 as a parser skeleton. Alternatively, if you modify or redistribute 00026 the parser skeleton itself, you may (at your option) remove this 00027 special exception, which will cause the skeleton and the resulting 00028 Bison output files to be licensed under the GNU General Public 00029 License without this special exception. 00030 00031 This special exception was added by the Free Software Foundation in 00032 version 2.2 of Bison. */ 00033 00034 00035 /* Tokens. */ 00036 #ifndef YYTOKENTYPE 00037 # define YYTOKENTYPE 00038 /* Put the tokens into the symbol table, so that GDB and other debuggers 00039 know about them. */ 00040 enum yytokentype { 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 tSTRING_CONTENT = 316, 00100 tCHAR = 317, 00101 tNTH_REF = 318, 00102 tBACK_REF = 319, 00103 tREGEXP_END = 320, 00104 tUPLUS = 321, 00105 tUMINUS = 322, 00106 tPOW = 323, 00107 tCMP = 324, 00108 tEQ = 325, 00109 tEQQ = 326, 00110 tNEQ = 327, 00111 tGEQ = 328, 00112 tLEQ = 329, 00113 tANDOP = 330, 00114 tOROP = 331, 00115 tMATCH = 332, 00116 tNMATCH = 333, 00117 tDOT2 = 334, 00118 tDOT3 = 335, 00119 tAREF = 336, 00120 tASET = 337, 00121 tLSHFT = 338, 00122 tRSHFT = 339, 00123 tCOLON2 = 340, 00124 tCOLON3 = 341, 00125 tOP_ASGN = 342, 00126 tASSOC = 343, 00127 tLPAREN = 344, 00128 tLPAREN_ARG = 345, 00129 tRPAREN = 346, 00130 tLBRACK = 347, 00131 tLBRACE = 348, 00132 tLBRACE_ARG = 349, 00133 tSTAR = 350, 00134 tAMPER = 351, 00135 tLAMBDA = 352, 00136 tSYMBEG = 353, 00137 tSTRING_BEG = 354, 00138 tXSTRING_BEG = 355, 00139 tREGEXP_BEG = 356, 00140 tWORDS_BEG = 357, 00141 tQWORDS_BEG = 358, 00142 tSTRING_DBEG = 359, 00143 tSTRING_DVAR = 360, 00144 tSTRING_END = 361, 00145 tLAMBEG = 362, 00146 tLOWEST = 363, 00147 tUMINUS_NUM = 364, 00148 idNULL = 365, 00149 idRespond_to = 366, 00150 idIFUNC = 367, 00151 idCFUNC = 368, 00152 id_core_set_method_alias = 369, 00153 id_core_set_variable_alias = 370, 00154 id_core_undef_method = 371, 00155 id_core_define_method = 372, 00156 id_core_define_singleton_method = 373, 00157 id_core_set_postexe = 374, 00158 tLAST_TOKEN = 375 00159 }; 00160 #endif 00161 00162 00163 00164 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00165 typedef union YYSTYPE 00166 { 00167 00168 /* Line 1685 of yacc.c */ 00169 00170 VALUE val; 00171 NODE *node; 00172 ID id; 00173 int num; 00174 const struct vtable *vars; 00175 00176 00177 00178 /* Line 1685 of yacc.c */ 00179 } YYSTYPE; 00180 # define YYSTYPE_IS_TRIVIAL 1 00181 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00182 # define YYSTYPE_IS_DECLARED 1 00183 #endif 00184 00185 00186 00187 00188
1.7.3