Ruby
1.9.3p551(2014-11-13revision48407)
Main Page
Modules
Data Structures
Files
File List
Globals
parse.h
Go to the documentation of this file.
1
/* A Bison parser, made by GNU Bison 2.5. */
2
3
/* Bison interface for Yacc-like parsers in C
4
5
Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
6
7
This program is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with this program. If not, see <http://www.gnu.org/licenses/>. */
19
20
/* As a special exception, you may create a larger work that contains
21
part or all of the Bison parser skeleton and distribute that work
22
under terms of your choice, so long as that work isn't itself a
23
parser generator using the skeleton or a modified version thereof
24
as a parser skeleton. Alternatively, if you modify or redistribute
25
the parser skeleton itself, you may (at your option) remove this
26
special exception, which will cause the skeleton and the resulting
27
Bison output files to be licensed under the GNU General Public
28
License without this special exception.
29
30
This special exception was added by the Free Software Foundation in
31
version 2.2 of Bison. */
32
33
34
/* Tokens. */
35
#ifndef YYTOKENTYPE
36
# define YYTOKENTYPE
37
/* Put the tokens into the symbol table, so that GDB and other debuggers
38
know about them. */
39
enum
yytokentype
{
40
keyword_class
= 258,
41
keyword_module
= 259,
42
keyword_def
= 260,
43
keyword_undef
= 261,
44
keyword_begin
= 262,
45
keyword_rescue
= 263,
46
keyword_ensure
= 264,
47
keyword_end
= 265,
48
keyword_if
= 266,
49
keyword_unless
= 267,
50
keyword_then
= 268,
51
keyword_elsif
= 269,
52
keyword_else
= 270,
53
keyword_case
= 271,
54
keyword_when
= 272,
55
keyword_while
= 273,
56
keyword_until
= 274,
57
keyword_for
= 275,
58
keyword_break
= 276,
59
keyword_next
= 277,
60
keyword_redo
= 278,
61
keyword_retry
= 279,
62
keyword_in
= 280,
63
keyword_do
= 281,
64
keyword_do_cond
= 282,
65
keyword_do_block
= 283,
66
keyword_do_LAMBDA
= 284,
67
keyword_return
= 285,
68
keyword_yield
= 286,
69
keyword_super
= 287,
70
keyword_self
= 288,
71
keyword_nil
= 289,
72
keyword_true
= 290,
73
keyword_false
= 291,
74
keyword_and
= 292,
75
keyword_or
= 293,
76
keyword_not
= 294,
77
modifier_if
= 295,
78
modifier_unless
= 296,
79
modifier_while
= 297,
80
modifier_until
= 298,
81
modifier_rescue
= 299,
82
keyword_alias
= 300,
83
keyword_defined
= 301,
84
keyword_BEGIN
= 302,
85
keyword_END
= 303,
86
keyword__LINE__
= 304,
87
keyword__FILE__
= 305,
88
keyword__ENCODING__
= 306,
89
tIDENTIFIER
= 307,
90
tFID
= 308,
91
tGVAR
= 309,
92
tIVAR
= 310,
93
tCONSTANT
= 311,
94
tCVAR
= 312,
95
tLABEL
= 313,
96
tINTEGER
= 314,
97
tFLOAT
= 315,
98
tSTRING_CONTENT
= 316,
99
tCHAR
= 317,
100
tNTH_REF
= 318,
101
tBACK_REF
= 319,
102
tREGEXP_END
= 320,
103
tUPLUS
= 321,
104
tUMINUS
= 322,
105
tPOW
= 323,
106
tCMP
= 324,
107
tEQ
= 325,
108
tEQQ
= 326,
109
tNEQ
= 327,
110
tGEQ
= 328,
111
tLEQ
= 329,
112
tANDOP
= 330,
113
tOROP
= 331,
114
tMATCH
= 332,
115
tNMATCH
= 333,
116
tDOT2
= 334,
117
tDOT3
= 335,
118
tAREF
= 336,
119
tASET
= 337,
120
tLSHFT
= 338,
121
tRSHFT
= 339,
122
tCOLON2
= 340,
123
tCOLON3
= 341,
124
tOP_ASGN
= 342,
125
tASSOC
= 343,
126
tLPAREN
= 344,
127
tLPAREN_ARG
= 345,
128
tRPAREN
= 346,
129
tLBRACK
= 347,
130
tLBRACE
= 348,
131
tLBRACE_ARG
= 349,
132
tSTAR
= 350,
133
tAMPER
= 351,
134
tLAMBDA
= 352,
135
tSYMBEG
= 353,
136
tSTRING_BEG
= 354,
137
tXSTRING_BEG
= 355,
138
tREGEXP_BEG
= 356,
139
tWORDS_BEG
= 357,
140
tQWORDS_BEG
= 358,
141
tSTRING_DBEG
= 359,
142
tSTRING_DVAR
= 360,
143
tSTRING_END
= 361,
144
tLAMBEG
= 362,
145
tLOWEST
= 363,
146
tUMINUS_NUM
= 364,
147
idNULL
= 365,
148
idRespond_to
= 366,
149
idIFUNC
= 367,
150
idCFUNC
= 368,
151
id_core_set_method_alias
= 369,
152
id_core_set_variable_alias
= 370,
153
id_core_undef_method
= 371,
154
id_core_define_method
= 372,
155
id_core_define_singleton_method
= 373,
156
id_core_set_postexe
= 374,
157
tLAST_TOKEN
= 375
158
};
159
#endif
160
161
162
163
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
164
typedef
union
YYSTYPE
165
{
166
167
/* Line 2068 of yacc.c */
168
169
VALUE
val
;
170
NODE
*
node
;
171
ID
id
;
172
int
num
;
173
const
struct
vtable
*
vars
;
174
175
176
177
/* Line 2068 of yacc.c */
178
}
YYSTYPE
;
179
# define YYSTYPE_IS_TRIVIAL 1
180
# define yystype YYSTYPE
/* obsolescent; will be withdrawn */
181
# define YYSTYPE_IS_DECLARED 1
182
#endif
183
184
185
186
187
Generated on Fri Nov 14 2014 16:04:11 for Ruby by
1.8.3