Annotation of embedaddon/php/Zend/zend_language_parser.h, revision 1.1.1.1
1.1 misho 1:
2: /* A Bison parser, made by GNU Bison 2.4.1. */
3:
4: /* Skeleton interface for Bison's Yacc-like parsers in C
5:
6: Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7: Free Software Foundation, Inc.
8:
9: This program is free software: you can redistribute it and/or modify
10: it under the terms of the GNU General Public License as published by
11: the Free Software Foundation, either version 3 of the License, or
12: (at your option) any later version.
13:
14: This program is distributed in the hope that it will be useful,
15: but WITHOUT ANY WARRANTY; without even the implied warranty of
16: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17: GNU General Public License for more details.
18:
19: You should have received a copy of the GNU General Public License
20: along with this program. If not, see <http://www.gnu.org/licenses/>. */
21:
22: /* As a special exception, you may create a larger work that contains
23: part or all of the Bison parser skeleton and distribute that work
24: under terms of your choice, so long as that work isn't itself a
25: parser generator using the skeleton or a modified version thereof
26: as a parser skeleton. Alternatively, if you modify or redistribute
27: the parser skeleton itself, you may (at your option) remove this
28: special exception, which will cause the skeleton and the resulting
29: Bison output files to be licensed under the GNU General Public
30: License without this special exception.
31:
32: This special exception was added by the Free Software Foundation in
33: version 2.2 of Bison. */
34:
35:
36: /* Tokens. */
37: #ifndef YYTOKENTYPE
38: # define YYTOKENTYPE
39: /* Put the tokens into the symbol table, so that GDB and other debuggers
40: know about them. */
41: enum yytokentype {
42: T_REQUIRE_ONCE = 258,
43: T_REQUIRE = 259,
44: T_EVAL = 260,
45: T_INCLUDE_ONCE = 261,
46: T_INCLUDE = 262,
47: T_LOGICAL_OR = 263,
48: T_LOGICAL_XOR = 264,
49: T_LOGICAL_AND = 265,
50: T_PRINT = 266,
51: T_SR_EQUAL = 267,
52: T_SL_EQUAL = 268,
53: T_XOR_EQUAL = 269,
54: T_OR_EQUAL = 270,
55: T_AND_EQUAL = 271,
56: T_MOD_EQUAL = 272,
57: T_CONCAT_EQUAL = 273,
58: T_DIV_EQUAL = 274,
59: T_MUL_EQUAL = 275,
60: T_MINUS_EQUAL = 276,
61: T_PLUS_EQUAL = 277,
62: T_BOOLEAN_OR = 278,
63: T_BOOLEAN_AND = 279,
64: T_IS_NOT_IDENTICAL = 280,
65: T_IS_IDENTICAL = 281,
66: T_IS_NOT_EQUAL = 282,
67: T_IS_EQUAL = 283,
68: T_IS_GREATER_OR_EQUAL = 284,
69: T_IS_SMALLER_OR_EQUAL = 285,
70: T_SR = 286,
71: T_SL = 287,
72: T_INSTANCEOF = 288,
73: T_UNSET_CAST = 289,
74: T_BOOL_CAST = 290,
75: T_OBJECT_CAST = 291,
76: T_ARRAY_CAST = 292,
77: T_STRING_CAST = 293,
78: T_DOUBLE_CAST = 294,
79: T_INT_CAST = 295,
80: T_DEC = 296,
81: T_INC = 297,
82: T_CLONE = 298,
83: T_NEW = 299,
84: T_EXIT = 300,
85: T_IF = 301,
86: T_ELSEIF = 302,
87: T_ELSE = 303,
88: T_ENDIF = 304,
89: T_LNUMBER = 305,
90: T_DNUMBER = 306,
91: T_STRING = 307,
92: T_STRING_VARNAME = 308,
93: T_VARIABLE = 309,
94: T_NUM_STRING = 310,
95: T_INLINE_HTML = 311,
96: T_CHARACTER = 312,
97: T_BAD_CHARACTER = 313,
98: T_ENCAPSED_AND_WHITESPACE = 314,
99: T_CONSTANT_ENCAPSED_STRING = 315,
100: T_ECHO = 316,
101: T_DO = 317,
102: T_WHILE = 318,
103: T_ENDWHILE = 319,
104: T_FOR = 320,
105: T_ENDFOR = 321,
106: T_FOREACH = 322,
107: T_ENDFOREACH = 323,
108: T_DECLARE = 324,
109: T_ENDDECLARE = 325,
110: T_AS = 326,
111: T_SWITCH = 327,
112: T_ENDSWITCH = 328,
113: T_CASE = 329,
114: T_DEFAULT = 330,
115: T_BREAK = 331,
116: T_CONTINUE = 332,
117: T_GOTO = 333,
118: T_FUNCTION = 334,
119: T_CONST = 335,
120: T_RETURN = 336,
121: T_TRY = 337,
122: T_CATCH = 338,
123: T_THROW = 339,
124: T_USE = 340,
125: T_GLOBAL = 341,
126: T_PUBLIC = 342,
127: T_PROTECTED = 343,
128: T_PRIVATE = 344,
129: T_FINAL = 345,
130: T_ABSTRACT = 346,
131: T_STATIC = 347,
132: T_VAR = 348,
133: T_UNSET = 349,
134: T_ISSET = 350,
135: T_EMPTY = 351,
136: T_HALT_COMPILER = 352,
137: T_CLASS = 353,
138: T_INTERFACE = 354,
139: T_EXTENDS = 355,
140: T_IMPLEMENTS = 356,
141: T_OBJECT_OPERATOR = 357,
142: T_DOUBLE_ARROW = 358,
143: T_LIST = 359,
144: T_ARRAY = 360,
145: T_CLASS_C = 361,
146: T_METHOD_C = 362,
147: T_FUNC_C = 363,
148: T_LINE = 364,
149: T_FILE = 365,
150: T_COMMENT = 366,
151: T_DOC_COMMENT = 367,
152: T_OPEN_TAG = 368,
153: T_OPEN_TAG_WITH_ECHO = 369,
154: T_CLOSE_TAG = 370,
155: T_WHITESPACE = 371,
156: T_START_HEREDOC = 372,
157: T_END_HEREDOC = 373,
158: T_DOLLAR_OPEN_CURLY_BRACES = 374,
159: T_CURLY_OPEN = 375,
160: T_PAAMAYIM_NEKUDOTAYIM = 376,
161: T_NAMESPACE = 377,
162: T_NS_C = 378,
163: T_DIR = 379,
164: T_NS_SEPARATOR = 380
165: };
166: #endif
167: /* Tokens. */
168: #define T_REQUIRE_ONCE 258
169: #define T_REQUIRE 259
170: #define T_EVAL 260
171: #define T_INCLUDE_ONCE 261
172: #define T_INCLUDE 262
173: #define T_LOGICAL_OR 263
174: #define T_LOGICAL_XOR 264
175: #define T_LOGICAL_AND 265
176: #define T_PRINT 266
177: #define T_SR_EQUAL 267
178: #define T_SL_EQUAL 268
179: #define T_XOR_EQUAL 269
180: #define T_OR_EQUAL 270
181: #define T_AND_EQUAL 271
182: #define T_MOD_EQUAL 272
183: #define T_CONCAT_EQUAL 273
184: #define T_DIV_EQUAL 274
185: #define T_MUL_EQUAL 275
186: #define T_MINUS_EQUAL 276
187: #define T_PLUS_EQUAL 277
188: #define T_BOOLEAN_OR 278
189: #define T_BOOLEAN_AND 279
190: #define T_IS_NOT_IDENTICAL 280
191: #define T_IS_IDENTICAL 281
192: #define T_IS_NOT_EQUAL 282
193: #define T_IS_EQUAL 283
194: #define T_IS_GREATER_OR_EQUAL 284
195: #define T_IS_SMALLER_OR_EQUAL 285
196: #define T_SR 286
197: #define T_SL 287
198: #define T_INSTANCEOF 288
199: #define T_UNSET_CAST 289
200: #define T_BOOL_CAST 290
201: #define T_OBJECT_CAST 291
202: #define T_ARRAY_CAST 292
203: #define T_STRING_CAST 293
204: #define T_DOUBLE_CAST 294
205: #define T_INT_CAST 295
206: #define T_DEC 296
207: #define T_INC 297
208: #define T_CLONE 298
209: #define T_NEW 299
210: #define T_EXIT 300
211: #define T_IF 301
212: #define T_ELSEIF 302
213: #define T_ELSE 303
214: #define T_ENDIF 304
215: #define T_LNUMBER 305
216: #define T_DNUMBER 306
217: #define T_STRING 307
218: #define T_STRING_VARNAME 308
219: #define T_VARIABLE 309
220: #define T_NUM_STRING 310
221: #define T_INLINE_HTML 311
222: #define T_CHARACTER 312
223: #define T_BAD_CHARACTER 313
224: #define T_ENCAPSED_AND_WHITESPACE 314
225: #define T_CONSTANT_ENCAPSED_STRING 315
226: #define T_ECHO 316
227: #define T_DO 317
228: #define T_WHILE 318
229: #define T_ENDWHILE 319
230: #define T_FOR 320
231: #define T_ENDFOR 321
232: #define T_FOREACH 322
233: #define T_ENDFOREACH 323
234: #define T_DECLARE 324
235: #define T_ENDDECLARE 325
236: #define T_AS 326
237: #define T_SWITCH 327
238: #define T_ENDSWITCH 328
239: #define T_CASE 329
240: #define T_DEFAULT 330
241: #define T_BREAK 331
242: #define T_CONTINUE 332
243: #define T_GOTO 333
244: #define T_FUNCTION 334
245: #define T_CONST 335
246: #define T_RETURN 336
247: #define T_TRY 337
248: #define T_CATCH 338
249: #define T_THROW 339
250: #define T_USE 340
251: #define T_GLOBAL 341
252: #define T_PUBLIC 342
253: #define T_PROTECTED 343
254: #define T_PRIVATE 344
255: #define T_FINAL 345
256: #define T_ABSTRACT 346
257: #define T_STATIC 347
258: #define T_VAR 348
259: #define T_UNSET 349
260: #define T_ISSET 350
261: #define T_EMPTY 351
262: #define T_HALT_COMPILER 352
263: #define T_CLASS 353
264: #define T_INTERFACE 354
265: #define T_EXTENDS 355
266: #define T_IMPLEMENTS 356
267: #define T_OBJECT_OPERATOR 357
268: #define T_DOUBLE_ARROW 358
269: #define T_LIST 359
270: #define T_ARRAY 360
271: #define T_CLASS_C 361
272: #define T_METHOD_C 362
273: #define T_FUNC_C 363
274: #define T_LINE 364
275: #define T_FILE 365
276: #define T_COMMENT 366
277: #define T_DOC_COMMENT 367
278: #define T_OPEN_TAG 368
279: #define T_OPEN_TAG_WITH_ECHO 369
280: #define T_CLOSE_TAG 370
281: #define T_WHITESPACE 371
282: #define T_START_HEREDOC 372
283: #define T_END_HEREDOC 373
284: #define T_DOLLAR_OPEN_CURLY_BRACES 374
285: #define T_CURLY_OPEN 375
286: #define T_PAAMAYIM_NEKUDOTAYIM 376
287: #define T_NAMESPACE 377
288: #define T_NS_C 378
289: #define T_DIR 379
290: #define T_NS_SEPARATOR 380
291:
292:
293:
294:
295: #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
296: typedef int YYSTYPE;
297: # define YYSTYPE_IS_TRIVIAL 1
298: # define yystype YYSTYPE /* obsolescent; will be withdrawn */
299: # define YYSTYPE_IS_DECLARED 1
300: #endif
301:
302:
303:
304:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>