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