|
Ruby 1.9.3p194(2012-04-20revision35410)
|
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 keyword_class = 258, 00041 keyword_module = 259, 00042 keyword_def = 260, 00043 keyword_undef = 261, 00044 keyword_begin = 262, 00045 keyword_rescue = 263, 00046 keyword_ensure = 264, 00047 keyword_end = 265, 00048 keyword_if = 266, 00049 keyword_unless = 267, 00050 keyword_then = 268, 00051 keyword_elsif = 269, 00052 keyword_else = 270, 00053 keyword_case = 271, 00054 keyword_when = 272, 00055 keyword_while = 273, 00056 keyword_until = 274, 00057 keyword_for = 275, 00058 keyword_break = 276, 00059 keyword_next = 277, 00060 keyword_redo = 278, 00061 keyword_retry = 279, 00062 keyword_in = 280, 00063 keyword_do = 281, 00064 keyword_do_cond = 282, 00065 keyword_do_block = 283, 00066 keyword_do_LAMBDA = 284, 00067 keyword_return = 285, 00068 keyword_yield = 286, 00069 keyword_super = 287, 00070 keyword_self = 288, 00071 keyword_nil = 289, 00072 keyword_true = 290, 00073 keyword_false = 291, 00074 keyword_and = 292, 00075 keyword_or = 293, 00076 keyword_not = 294, 00077 modifier_if = 295, 00078 modifier_unless = 296, 00079 modifier_while = 297, 00080 modifier_until = 298, 00081 modifier_rescue = 299, 00082 keyword_alias = 300, 00083 keyword_defined = 301, 00084 keyword_BEGIN = 302, 00085 keyword_END = 303, 00086 keyword__LINE__ = 304, 00087 keyword__FILE__ = 305, 00088 keyword__ENCODING__ = 306, 00089 tIDENTIFIER = 307, 00090 tFID = 308, 00091 tGVAR = 309, 00092 tIVAR = 310, 00093 tCONSTANT = 311, 00094 tCVAR = 312, 00095 tLABEL = 313, 00096 tINTEGER = 314, 00097 tFLOAT = 315, 00098 tSTRING_CONTENT = 316, 00099 tCHAR = 317, 00100 tNTH_REF = 318, 00101 tBACK_REF = 319, 00102 tREGEXP_END = 320, 00103 tUPLUS = 321, 00104 tUMINUS = 322, 00105 tPOW = 323, 00106 tCMP = 324, 00107 tEQ = 325, 00108 tEQQ = 326, 00109 tNEQ = 327, 00110 tGEQ = 328, 00111 tLEQ = 329, 00112 tANDOP = 330, 00113 tOROP = 331, 00114 tMATCH = 332, 00115 tNMATCH = 333, 00116 tDOT2 = 334, 00117 tDOT3 = 335, 00118 tAREF = 336, 00119 tASET = 337, 00120 tLSHFT = 338, 00121 tRSHFT = 339, 00122 tCOLON2 = 340, 00123 tCOLON3 = 341, 00124 tOP_ASGN = 342, 00125 tASSOC = 343, 00126 tLPAREN = 344, 00127 tLPAREN_ARG = 345, 00128 tRPAREN = 346, 00129 tLBRACK = 347, 00130 tLBRACE = 348, 00131 tLBRACE_ARG = 349, 00132 tSTAR = 350, 00133 tAMPER = 351, 00134 tLAMBDA = 352, 00135 tSYMBEG = 353, 00136 tSTRING_BEG = 354, 00137 tXSTRING_BEG = 355, 00138 tREGEXP_BEG = 356, 00139 tWORDS_BEG = 357, 00140 tQWORDS_BEG = 358, 00141 tSTRING_DBEG = 359, 00142 tSTRING_DVAR = 360, 00143 tSTRING_END = 361, 00144 tLAMBEG = 362, 00145 tLOWEST = 363, 00146 tUMINUS_NUM = 364, 00147 idNULL = 365, 00148 idRespond_to = 366, 00149 idIFUNC = 367, 00150 idCFUNC = 368, 00151 id_core_set_method_alias = 369, 00152 id_core_set_variable_alias = 370, 00153 id_core_undef_method = 371, 00154 id_core_define_method = 372, 00155 id_core_define_singleton_method = 373, 00156 id_core_set_postexe = 374, 00157 tLAST_TOKEN = 375 00158 }; 00159 #endif 00160 00161 00162 00163 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00164 typedef union YYSTYPE 00165 { 00166 00167 /* Line 2068 of yacc.c */ 00168 00169 VALUE val; 00170 NODE *node; 00171 ID id; 00172 int num; 00173 const struct vtable *vars; 00174 00175 00176 00177 /* Line 2068 of yacc.c */ 00178 } YYSTYPE; 00179 # define YYSTYPE_IS_TRIVIAL 1 00180 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00181 # define YYSTYPE_IS_DECLARED 1 00182 #endif 00183 00184 00185 00186 00187
1.7.3