1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 #ifndef YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED
34 # define YY_ZEND_ZEND_ZEND_LANGUAGE_PARSER_H_INCLUDED
35
36 #ifndef YYDEBUG
37 # define YYDEBUG 0
38 #endif
39 #if YYDEBUG
40 extern int zenddebug;
41 #endif
42
43
44
45
46
47
48
49 #include "zend.h"
50 #ifndef YYTOKENTYPE
51 # define YYTOKENTYPE
52 enum yytokentype
53 {
54 END = 0,
55 T_INCLUDE = 258,
56 T_INCLUDE_ONCE = 259,
57 T_EVAL = 260,
58 T_REQUIRE = 261,
59 T_REQUIRE_ONCE = 262,
60 T_LOGICAL_OR = 263,
61 T_LOGICAL_XOR = 264,
62 T_LOGICAL_AND = 265,
63 T_PRINT = 266,
64 T_YIELD = 267,
65 T_DOUBLE_ARROW = 268,
66 T_YIELD_FROM = 269,
67 T_PLUS_EQUAL = 270,
68 T_MINUS_EQUAL = 271,
69 T_MUL_EQUAL = 272,
70 T_DIV_EQUAL = 273,
71 T_CONCAT_EQUAL = 274,
72 T_MOD_EQUAL = 275,
73 T_AND_EQUAL = 276,
74 T_OR_EQUAL = 277,
75 T_XOR_EQUAL = 278,
76 T_SL_EQUAL = 279,
77 T_SR_EQUAL = 280,
78 T_POW_EQUAL = 281,
79 T_COALESCE = 282,
80 T_BOOLEAN_OR = 283,
81 T_BOOLEAN_AND = 284,
82 T_IS_EQUAL = 285,
83 T_IS_NOT_EQUAL = 286,
84 T_IS_IDENTICAL = 287,
85 T_IS_NOT_IDENTICAL = 288,
86 T_SPACESHIP = 289,
87 T_IS_SMALLER_OR_EQUAL = 290,
88 T_IS_GREATER_OR_EQUAL = 291,
89 T_SL = 292,
90 T_SR = 293,
91 T_INSTANCEOF = 294,
92 T_INC = 295,
93 T_DEC = 296,
94 T_INT_CAST = 297,
95 T_DOUBLE_CAST = 298,
96 T_STRING_CAST = 299,
97 T_ARRAY_CAST = 300,
98 T_OBJECT_CAST = 301,
99 T_BOOL_CAST = 302,
100 T_UNSET_CAST = 303,
101 T_POW = 304,
102 T_NEW = 305,
103 T_CLONE = 306,
104 T_NOELSE = 307,
105 T_ELSEIF = 308,
106 T_ELSE = 309,
107 T_ENDIF = 310,
108 T_STATIC = 311,
109 T_ABSTRACT = 312,
110 T_FINAL = 313,
111 T_PRIVATE = 314,
112 T_PROTECTED = 315,
113 T_PUBLIC = 316,
114 T_LNUMBER = 317,
115 T_DNUMBER = 318,
116 T_STRING = 319,
117 T_VARIABLE = 320,
118 T_INLINE_HTML = 321,
119 T_ENCAPSED_AND_WHITESPACE = 322,
120 T_CONSTANT_ENCAPSED_STRING = 323,
121 T_STRING_VARNAME = 324,
122 T_NUM_STRING = 325,
123 T_EXIT = 326,
124 T_IF = 327,
125 T_ECHO = 328,
126 T_DO = 329,
127 T_WHILE = 330,
128 T_ENDWHILE = 331,
129 T_FOR = 332,
130 T_ENDFOR = 333,
131 T_FOREACH = 334,
132 T_ENDFOREACH = 335,
133 T_DECLARE = 336,
134 T_ENDDECLARE = 337,
135 T_AS = 338,
136 T_SWITCH = 339,
137 T_ENDSWITCH = 340,
138 T_CASE = 341,
139 T_DEFAULT = 342,
140 T_BREAK = 343,
141 T_CONTINUE = 344,
142 T_GOTO = 345,
143 T_FUNCTION = 346,
144 T_CONST = 347,
145 T_RETURN = 348,
146 T_TRY = 349,
147 T_CATCH = 350,
148 T_FINALLY = 351,
149 T_THROW = 352,
150 T_USE = 353,
151 T_INSTEADOF = 354,
152 T_GLOBAL = 355,
153 T_VAR = 356,
154 T_UNSET = 357,
155 T_ISSET = 358,
156 T_EMPTY = 359,
157 T_HALT_COMPILER = 360,
158 T_CLASS = 361,
159 T_TRAIT = 362,
160 T_INTERFACE = 363,
161 T_EXTENDS = 364,
162 T_IMPLEMENTS = 365,
163 T_OBJECT_OPERATOR = 366,
164 T_LIST = 367,
165 T_ARRAY = 368,
166 T_CALLABLE = 369,
167 T_LINE = 370,
168 T_FILE = 371,
169 T_DIR = 372,
170 T_CLASS_C = 373,
171 T_TRAIT_C = 374,
172 T_METHOD_C = 375,
173 T_FUNC_C = 376,
174 T_COMMENT = 377,
175 T_DOC_COMMENT = 378,
176 T_OPEN_TAG = 379,
177 T_OPEN_TAG_WITH_ECHO = 380,
178 T_CLOSE_TAG = 381,
179 T_WHITESPACE = 382,
180 T_START_HEREDOC = 383,
181 T_END_HEREDOC = 384,
182 T_DOLLAR_OPEN_CURLY_BRACES = 385,
183 T_CURLY_OPEN = 386,
184 T_PAAMAYIM_NEKUDOTAYIM = 387,
185 T_NAMESPACE = 388,
186 T_NS_C = 389,
187 T_NS_SEPARATOR = 390,
188 T_ELLIPSIS = 391,
189 T_ERROR = 392
190 };
191 #endif
192
193 #define END 0
194 #define T_INCLUDE 258
195 #define T_INCLUDE_ONCE 259
196 #define T_EVAL 260
197 #define T_REQUIRE 261
198 #define T_REQUIRE_ONCE 262
199 #define T_LOGICAL_OR 263
200 #define T_LOGICAL_XOR 264
201 #define T_LOGICAL_AND 265
202 #define T_PRINT 266
203 #define T_YIELD 267
204 #define T_DOUBLE_ARROW 268
205 #define T_YIELD_FROM 269
206 #define T_PLUS_EQUAL 270
207 #define T_MINUS_EQUAL 271
208 #define T_MUL_EQUAL 272
209 #define T_DIV_EQUAL 273
210 #define T_CONCAT_EQUAL 274
211 #define T_MOD_EQUAL 275
212 #define T_AND_EQUAL 276
213 #define T_OR_EQUAL 277
214 #define T_XOR_EQUAL 278
215 #define T_SL_EQUAL 279
216 #define T_SR_EQUAL 280
217 #define T_POW_EQUAL 281
218 #define T_COALESCE 282
219 #define T_BOOLEAN_OR 283
220 #define T_BOOLEAN_AND 284
221 #define T_IS_EQUAL 285
222 #define T_IS_NOT_EQUAL 286
223 #define T_IS_IDENTICAL 287
224 #define T_IS_NOT_IDENTICAL 288
225 #define T_SPACESHIP 289
226 #define T_IS_SMALLER_OR_EQUAL 290
227 #define T_IS_GREATER_OR_EQUAL 291
228 #define T_SL 292
229 #define T_SR 293
230 #define T_INSTANCEOF 294
231 #define T_INC 295
232 #define T_DEC 296
233 #define T_INT_CAST 297
234 #define T_DOUBLE_CAST 298
235 #define T_STRING_CAST 299
236 #define T_ARRAY_CAST 300
237 #define T_OBJECT_CAST 301
238 #define T_BOOL_CAST 302
239 #define T_UNSET_CAST 303
240 #define T_POW 304
241 #define T_NEW 305
242 #define T_CLONE 306
243 #define T_NOELSE 307
244 #define T_ELSEIF 308
245 #define T_ELSE 309
246 #define T_ENDIF 310
247 #define T_STATIC 311
248 #define T_ABSTRACT 312
249 #define T_FINAL 313
250 #define T_PRIVATE 314
251 #define T_PROTECTED 315
252 #define T_PUBLIC 316
253 #define T_LNUMBER 317
254 #define T_DNUMBER 318
255 #define T_STRING 319
256 #define T_VARIABLE 320
257 #define T_INLINE_HTML 321
258 #define T_ENCAPSED_AND_WHITESPACE 322
259 #define T_CONSTANT_ENCAPSED_STRING 323
260 #define T_STRING_VARNAME 324
261 #define T_NUM_STRING 325
262 #define T_EXIT 326
263 #define T_IF 327
264 #define T_ECHO 328
265 #define T_DO 329
266 #define T_WHILE 330
267 #define T_ENDWHILE 331
268 #define T_FOR 332
269 #define T_ENDFOR 333
270 #define T_FOREACH 334
271 #define T_ENDFOREACH 335
272 #define T_DECLARE 336
273 #define T_ENDDECLARE 337
274 #define T_AS 338
275 #define T_SWITCH 339
276 #define T_ENDSWITCH 340
277 #define T_CASE 341
278 #define T_DEFAULT 342
279 #define T_BREAK 343
280 #define T_CONTINUE 344
281 #define T_GOTO 345
282 #define T_FUNCTION 346
283 #define T_CONST 347
284 #define T_RETURN 348
285 #define T_TRY 349
286 #define T_CATCH 350
287 #define T_FINALLY 351
288 #define T_THROW 352
289 #define T_USE 353
290 #define T_INSTEADOF 354
291 #define T_GLOBAL 355
292 #define T_VAR 356
293 #define T_UNSET 357
294 #define T_ISSET 358
295 #define T_EMPTY 359
296 #define T_HALT_COMPILER 360
297 #define T_CLASS 361
298 #define T_TRAIT 362
299 #define T_INTERFACE 363
300 #define T_EXTENDS 364
301 #define T_IMPLEMENTS 365
302 #define T_OBJECT_OPERATOR 366
303 #define T_LIST 367
304 #define T_ARRAY 368
305 #define T_CALLABLE 369
306 #define T_LINE 370
307 #define T_FILE 371
308 #define T_DIR 372
309 #define T_CLASS_C 373
310 #define T_TRAIT_C 374
311 #define T_METHOD_C 375
312 #define T_FUNC_C 376
313 #define T_COMMENT 377
314 #define T_DOC_COMMENT 378
315 #define T_OPEN_TAG 379
316 #define T_OPEN_TAG_WITH_ECHO 380
317 #define T_CLOSE_TAG 381
318 #define T_WHITESPACE 382
319 #define T_START_HEREDOC 383
320 #define T_END_HEREDOC 384
321 #define T_DOLLAR_OPEN_CURLY_BRACES 385
322 #define T_CURLY_OPEN 386
323 #define T_PAAMAYIM_NEKUDOTAYIM 387
324 #define T_NAMESPACE 388
325 #define T_NS_C 389
326 #define T_NS_SEPARATOR 390
327 #define T_ELLIPSIS 391
328 #define T_ERROR 392
329
330
331
332
333
334 ZEND_API int zendparse (void);
335
336 #endif