|
Ruby
2.0.0p481(2014-05-08revision45883)
|
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 tSTRING_CONTENT = 316, 00100 tCHAR = 317, 00101 tNTH_REF = 318, 00102 tBACK_REF = 319, 00103 tREGEXP_END = 320, 00104 tUPLUS = 130, 00105 tUMINUS = 131, 00106 tPOW = 132, 00107 tCMP = 134, 00108 tEQ = 139, 00109 tEQQ = 140, 00110 tNEQ = 141, 00111 tGEQ = 138, 00112 tLEQ = 137, 00113 tANDOP = 321, 00114 tOROP = 322, 00115 tMATCH = 142, 00116 tNMATCH = 143, 00117 tDOT2 = 128, 00118 tDOT3 = 129, 00119 tAREF = 144, 00120 tASET = 145, 00121 tLSHFT = 135, 00122 tRSHFT = 136, 00123 tCOLON2 = 323, 00124 tCOLON3 = 324, 00125 tOP_ASGN = 325, 00126 tASSOC = 326, 00127 tLPAREN = 327, 00128 tLPAREN_ARG = 328, 00129 tRPAREN = 329, 00130 tLBRACK = 330, 00131 tLBRACE = 331, 00132 tLBRACE_ARG = 332, 00133 tSTAR = 333, 00134 tDSTAR = 334, 00135 tAMPER = 335, 00136 tLAMBDA = 336, 00137 tSYMBEG = 337, 00138 tSTRING_BEG = 338, 00139 tXSTRING_BEG = 339, 00140 tREGEXP_BEG = 340, 00141 tWORDS_BEG = 341, 00142 tQWORDS_BEG = 342, 00143 tSYMBOLS_BEG = 343, 00144 tQSYMBOLS_BEG = 344, 00145 tSTRING_DBEG = 345, 00146 tSTRING_DEND = 346, 00147 tSTRING_DVAR = 347, 00148 tSTRING_END = 348, 00149 tLAMBEG = 349, 00150 tLOWEST = 350, 00151 tUMINUS_NUM = 351, 00152 tLAST_TOKEN = 352 00153 }; 00154 #endif 00155 00156 00157 00158 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 00159 typedef union YYSTYPE 00160 { 00161 00162 /* Line 2068 of yacc.c */ 00163 00164 VALUE val; 00165 NODE *node; 00166 ID id; 00167 int num; 00168 const struct vtable *vars; 00169 00170 00171 00172 /* Line 2068 of yacc.c */ 00173 } YYSTYPE; 00174 # define YYSTYPE_IS_TRIVIAL 1 00175 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ 00176 # define YYSTYPE_IS_DECLARED 1 00177 #endif 00178 00179 00180 00181 00182
1.7.6.1