Annotation of embedaddon/php/ext/tokenizer/tokenizer_data.c, revision 1.1.1.4
1.1 misho 1: /*
2: +----------------------------------------------------------------------+
3: | PHP Version 5 |
4: +----------------------------------------------------------------------+
1.1.1.4 ! misho 5: | Copyright (c) 1997-2014 The PHP Group |
1.1 misho 6: +----------------------------------------------------------------------+
7: | This source file is subject to version 3.01 of the PHP license, |
8: | that is bundled with this package in the file LICENSE, and is |
9: | available through the world-wide-web at the following url: |
10: | http://www.php.net/license/3_01.txt |
11: | If you did not receive a copy of the PHP license and are unable to |
12: | obtain it through the world-wide-web, please send a note to |
13: | license@php.net so we can mail you a copy immediately. |
14: +----------------------------------------------------------------------+
15: | Author: Johannes Schlueter <johannes@php.net> |
16: +----------------------------------------------------------------------+
17: */
18:
1.1.1.2 misho 19: /* $Id$ */
1.1 misho 20:
21: /*
22: DO NOT EDIT THIS FILE!
23: This file is generated using tokenizer_data_gen.sh
24: */
25:
26: #include "php.h"
27: #include "zend.h"
28: #include <zend_language_parser.h>
29:
30:
31: void tokenizer_register_constants(INIT_FUNC_ARGS) {
32: REGISTER_LONG_CONSTANT("T_REQUIRE_ONCE", T_REQUIRE_ONCE, CONST_CS | CONST_PERSISTENT);
33: REGISTER_LONG_CONSTANT("T_REQUIRE", T_REQUIRE, CONST_CS | CONST_PERSISTENT);
34: REGISTER_LONG_CONSTANT("T_EVAL", T_EVAL, CONST_CS | CONST_PERSISTENT);
35: REGISTER_LONG_CONSTANT("T_INCLUDE_ONCE", T_INCLUDE_ONCE, CONST_CS | CONST_PERSISTENT);
36: REGISTER_LONG_CONSTANT("T_INCLUDE", T_INCLUDE, CONST_CS | CONST_PERSISTENT);
37: REGISTER_LONG_CONSTANT("T_LOGICAL_OR", T_LOGICAL_OR, CONST_CS | CONST_PERSISTENT);
38: REGISTER_LONG_CONSTANT("T_LOGICAL_XOR", T_LOGICAL_XOR, CONST_CS | CONST_PERSISTENT);
39: REGISTER_LONG_CONSTANT("T_LOGICAL_AND", T_LOGICAL_AND, CONST_CS | CONST_PERSISTENT);
40: REGISTER_LONG_CONSTANT("T_PRINT", T_PRINT, CONST_CS | CONST_PERSISTENT);
41: REGISTER_LONG_CONSTANT("T_SR_EQUAL", T_SR_EQUAL, CONST_CS | CONST_PERSISTENT);
42: REGISTER_LONG_CONSTANT("T_SL_EQUAL", T_SL_EQUAL, CONST_CS | CONST_PERSISTENT);
43: REGISTER_LONG_CONSTANT("T_XOR_EQUAL", T_XOR_EQUAL, CONST_CS | CONST_PERSISTENT);
44: REGISTER_LONG_CONSTANT("T_OR_EQUAL", T_OR_EQUAL, CONST_CS | CONST_PERSISTENT);
45: REGISTER_LONG_CONSTANT("T_AND_EQUAL", T_AND_EQUAL, CONST_CS | CONST_PERSISTENT);
46: REGISTER_LONG_CONSTANT("T_MOD_EQUAL", T_MOD_EQUAL, CONST_CS | CONST_PERSISTENT);
47: REGISTER_LONG_CONSTANT("T_CONCAT_EQUAL", T_CONCAT_EQUAL, CONST_CS | CONST_PERSISTENT);
48: REGISTER_LONG_CONSTANT("T_DIV_EQUAL", T_DIV_EQUAL, CONST_CS | CONST_PERSISTENT);
49: REGISTER_LONG_CONSTANT("T_MUL_EQUAL", T_MUL_EQUAL, CONST_CS | CONST_PERSISTENT);
50: REGISTER_LONG_CONSTANT("T_MINUS_EQUAL", T_MINUS_EQUAL, CONST_CS | CONST_PERSISTENT);
51: REGISTER_LONG_CONSTANT("T_PLUS_EQUAL", T_PLUS_EQUAL, CONST_CS | CONST_PERSISTENT);
52: REGISTER_LONG_CONSTANT("T_BOOLEAN_OR", T_BOOLEAN_OR, CONST_CS | CONST_PERSISTENT);
53: REGISTER_LONG_CONSTANT("T_BOOLEAN_AND", T_BOOLEAN_AND, CONST_CS | CONST_PERSISTENT);
54: REGISTER_LONG_CONSTANT("T_IS_NOT_IDENTICAL", T_IS_NOT_IDENTICAL, CONST_CS | CONST_PERSISTENT);
55: REGISTER_LONG_CONSTANT("T_IS_IDENTICAL", T_IS_IDENTICAL, CONST_CS | CONST_PERSISTENT);
56: REGISTER_LONG_CONSTANT("T_IS_NOT_EQUAL", T_IS_NOT_EQUAL, CONST_CS | CONST_PERSISTENT);
57: REGISTER_LONG_CONSTANT("T_IS_EQUAL", T_IS_EQUAL, CONST_CS | CONST_PERSISTENT);
58: REGISTER_LONG_CONSTANT("T_IS_GREATER_OR_EQUAL", T_IS_GREATER_OR_EQUAL, CONST_CS | CONST_PERSISTENT);
59: REGISTER_LONG_CONSTANT("T_IS_SMALLER_OR_EQUAL", T_IS_SMALLER_OR_EQUAL, CONST_CS | CONST_PERSISTENT);
60: REGISTER_LONG_CONSTANT("T_SR", T_SR, CONST_CS | CONST_PERSISTENT);
61: REGISTER_LONG_CONSTANT("T_SL", T_SL, CONST_CS | CONST_PERSISTENT);
62: REGISTER_LONG_CONSTANT("T_INSTANCEOF", T_INSTANCEOF, CONST_CS | CONST_PERSISTENT);
63: REGISTER_LONG_CONSTANT("T_UNSET_CAST", T_UNSET_CAST, CONST_CS | CONST_PERSISTENT);
64: REGISTER_LONG_CONSTANT("T_BOOL_CAST", T_BOOL_CAST, CONST_CS | CONST_PERSISTENT);
65: REGISTER_LONG_CONSTANT("T_OBJECT_CAST", T_OBJECT_CAST, CONST_CS | CONST_PERSISTENT);
66: REGISTER_LONG_CONSTANT("T_ARRAY_CAST", T_ARRAY_CAST, CONST_CS | CONST_PERSISTENT);
67: REGISTER_LONG_CONSTANT("T_STRING_CAST", T_STRING_CAST, CONST_CS | CONST_PERSISTENT);
68: REGISTER_LONG_CONSTANT("T_DOUBLE_CAST", T_DOUBLE_CAST, CONST_CS | CONST_PERSISTENT);
69: REGISTER_LONG_CONSTANT("T_INT_CAST", T_INT_CAST, CONST_CS | CONST_PERSISTENT);
70: REGISTER_LONG_CONSTANT("T_DEC", T_DEC, CONST_CS | CONST_PERSISTENT);
71: REGISTER_LONG_CONSTANT("T_INC", T_INC, CONST_CS | CONST_PERSISTENT);
72: REGISTER_LONG_CONSTANT("T_CLONE", T_CLONE, CONST_CS | CONST_PERSISTENT);
73: REGISTER_LONG_CONSTANT("T_NEW", T_NEW, CONST_CS | CONST_PERSISTENT);
74: REGISTER_LONG_CONSTANT("T_EXIT", T_EXIT, CONST_CS | CONST_PERSISTENT);
75: REGISTER_LONG_CONSTANT("T_IF", T_IF, CONST_CS | CONST_PERSISTENT);
76: REGISTER_LONG_CONSTANT("T_ELSEIF", T_ELSEIF, CONST_CS | CONST_PERSISTENT);
77: REGISTER_LONG_CONSTANT("T_ELSE", T_ELSE, CONST_CS | CONST_PERSISTENT);
78: REGISTER_LONG_CONSTANT("T_ENDIF", T_ENDIF, CONST_CS | CONST_PERSISTENT);
79: REGISTER_LONG_CONSTANT("T_LNUMBER", T_LNUMBER, CONST_CS | CONST_PERSISTENT);
80: REGISTER_LONG_CONSTANT("T_DNUMBER", T_DNUMBER, CONST_CS | CONST_PERSISTENT);
81: REGISTER_LONG_CONSTANT("T_STRING", T_STRING, CONST_CS | CONST_PERSISTENT);
82: REGISTER_LONG_CONSTANT("T_STRING_VARNAME", T_STRING_VARNAME, CONST_CS | CONST_PERSISTENT);
83: REGISTER_LONG_CONSTANT("T_VARIABLE", T_VARIABLE, CONST_CS | CONST_PERSISTENT);
84: REGISTER_LONG_CONSTANT("T_NUM_STRING", T_NUM_STRING, CONST_CS | CONST_PERSISTENT);
85: REGISTER_LONG_CONSTANT("T_INLINE_HTML", T_INLINE_HTML, CONST_CS | CONST_PERSISTENT);
86: REGISTER_LONG_CONSTANT("T_CHARACTER", T_CHARACTER, CONST_CS | CONST_PERSISTENT);
87: REGISTER_LONG_CONSTANT("T_BAD_CHARACTER", T_BAD_CHARACTER, CONST_CS | CONST_PERSISTENT);
88: REGISTER_LONG_CONSTANT("T_ENCAPSED_AND_WHITESPACE", T_ENCAPSED_AND_WHITESPACE, CONST_CS | CONST_PERSISTENT);
89: REGISTER_LONG_CONSTANT("T_CONSTANT_ENCAPSED_STRING", T_CONSTANT_ENCAPSED_STRING, CONST_CS | CONST_PERSISTENT);
90: REGISTER_LONG_CONSTANT("T_ECHO", T_ECHO, CONST_CS | CONST_PERSISTENT);
91: REGISTER_LONG_CONSTANT("T_DO", T_DO, CONST_CS | CONST_PERSISTENT);
92: REGISTER_LONG_CONSTANT("T_WHILE", T_WHILE, CONST_CS | CONST_PERSISTENT);
93: REGISTER_LONG_CONSTANT("T_ENDWHILE", T_ENDWHILE, CONST_CS | CONST_PERSISTENT);
94: REGISTER_LONG_CONSTANT("T_FOR", T_FOR, CONST_CS | CONST_PERSISTENT);
95: REGISTER_LONG_CONSTANT("T_ENDFOR", T_ENDFOR, CONST_CS | CONST_PERSISTENT);
96: REGISTER_LONG_CONSTANT("T_FOREACH", T_FOREACH, CONST_CS | CONST_PERSISTENT);
97: REGISTER_LONG_CONSTANT("T_ENDFOREACH", T_ENDFOREACH, CONST_CS | CONST_PERSISTENT);
98: REGISTER_LONG_CONSTANT("T_DECLARE", T_DECLARE, CONST_CS | CONST_PERSISTENT);
99: REGISTER_LONG_CONSTANT("T_ENDDECLARE", T_ENDDECLARE, CONST_CS | CONST_PERSISTENT);
100: REGISTER_LONG_CONSTANT("T_AS", T_AS, CONST_CS | CONST_PERSISTENT);
101: REGISTER_LONG_CONSTANT("T_SWITCH", T_SWITCH, CONST_CS | CONST_PERSISTENT);
102: REGISTER_LONG_CONSTANT("T_ENDSWITCH", T_ENDSWITCH, CONST_CS | CONST_PERSISTENT);
103: REGISTER_LONG_CONSTANT("T_CASE", T_CASE, CONST_CS | CONST_PERSISTENT);
104: REGISTER_LONG_CONSTANT("T_DEFAULT", T_DEFAULT, CONST_CS | CONST_PERSISTENT);
105: REGISTER_LONG_CONSTANT("T_BREAK", T_BREAK, CONST_CS | CONST_PERSISTENT);
106: REGISTER_LONG_CONSTANT("T_CONTINUE", T_CONTINUE, CONST_CS | CONST_PERSISTENT);
107: REGISTER_LONG_CONSTANT("T_GOTO", T_GOTO, CONST_CS | CONST_PERSISTENT);
108: REGISTER_LONG_CONSTANT("T_FUNCTION", T_FUNCTION, CONST_CS | CONST_PERSISTENT);
109: REGISTER_LONG_CONSTANT("T_CONST", T_CONST, CONST_CS | CONST_PERSISTENT);
110: REGISTER_LONG_CONSTANT("T_RETURN", T_RETURN, CONST_CS | CONST_PERSISTENT);
111: REGISTER_LONG_CONSTANT("T_TRY", T_TRY, CONST_CS | CONST_PERSISTENT);
112: REGISTER_LONG_CONSTANT("T_CATCH", T_CATCH, CONST_CS | CONST_PERSISTENT);
113: REGISTER_LONG_CONSTANT("T_THROW", T_THROW, CONST_CS | CONST_PERSISTENT);
114: REGISTER_LONG_CONSTANT("T_USE", T_USE, CONST_CS | CONST_PERSISTENT);
1.1.1.2 misho 115: REGISTER_LONG_CONSTANT("T_INSTEADOF", T_INSTEADOF, CONST_CS | CONST_PERSISTENT);
1.1 misho 116: REGISTER_LONG_CONSTANT("T_GLOBAL", T_GLOBAL, CONST_CS | CONST_PERSISTENT);
117: REGISTER_LONG_CONSTANT("T_PUBLIC", T_PUBLIC, CONST_CS | CONST_PERSISTENT);
118: REGISTER_LONG_CONSTANT("T_PROTECTED", T_PROTECTED, CONST_CS | CONST_PERSISTENT);
119: REGISTER_LONG_CONSTANT("T_PRIVATE", T_PRIVATE, CONST_CS | CONST_PERSISTENT);
120: REGISTER_LONG_CONSTANT("T_FINAL", T_FINAL, CONST_CS | CONST_PERSISTENT);
121: REGISTER_LONG_CONSTANT("T_ABSTRACT", T_ABSTRACT, CONST_CS | CONST_PERSISTENT);
122: REGISTER_LONG_CONSTANT("T_STATIC", T_STATIC, CONST_CS | CONST_PERSISTENT);
123: REGISTER_LONG_CONSTANT("T_VAR", T_VAR, CONST_CS | CONST_PERSISTENT);
124: REGISTER_LONG_CONSTANT("T_UNSET", T_UNSET, CONST_CS | CONST_PERSISTENT);
125: REGISTER_LONG_CONSTANT("T_ISSET", T_ISSET, CONST_CS | CONST_PERSISTENT);
126: REGISTER_LONG_CONSTANT("T_EMPTY", T_EMPTY, CONST_CS | CONST_PERSISTENT);
127: REGISTER_LONG_CONSTANT("T_HALT_COMPILER", T_HALT_COMPILER, CONST_CS | CONST_PERSISTENT);
128: REGISTER_LONG_CONSTANT("T_CLASS", T_CLASS, CONST_CS | CONST_PERSISTENT);
1.1.1.2 misho 129: REGISTER_LONG_CONSTANT("T_TRAIT", T_TRAIT, CONST_CS | CONST_PERSISTENT);
1.1 misho 130: REGISTER_LONG_CONSTANT("T_INTERFACE", T_INTERFACE, CONST_CS | CONST_PERSISTENT);
131: REGISTER_LONG_CONSTANT("T_EXTENDS", T_EXTENDS, CONST_CS | CONST_PERSISTENT);
132: REGISTER_LONG_CONSTANT("T_IMPLEMENTS", T_IMPLEMENTS, CONST_CS | CONST_PERSISTENT);
133: REGISTER_LONG_CONSTANT("T_OBJECT_OPERATOR", T_OBJECT_OPERATOR, CONST_CS | CONST_PERSISTENT);
134: REGISTER_LONG_CONSTANT("T_DOUBLE_ARROW", T_DOUBLE_ARROW, CONST_CS | CONST_PERSISTENT);
135: REGISTER_LONG_CONSTANT("T_LIST", T_LIST, CONST_CS | CONST_PERSISTENT);
136: REGISTER_LONG_CONSTANT("T_ARRAY", T_ARRAY, CONST_CS | CONST_PERSISTENT);
1.1.1.2 misho 137: REGISTER_LONG_CONSTANT("T_CALLABLE", T_CALLABLE, CONST_CS | CONST_PERSISTENT);
1.1 misho 138: REGISTER_LONG_CONSTANT("T_CLASS_C", T_CLASS_C, CONST_CS | CONST_PERSISTENT);
1.1.1.2 misho 139: REGISTER_LONG_CONSTANT("T_TRAIT_C", T_TRAIT_C, CONST_CS | CONST_PERSISTENT);
1.1 misho 140: REGISTER_LONG_CONSTANT("T_METHOD_C", T_METHOD_C, CONST_CS | CONST_PERSISTENT);
141: REGISTER_LONG_CONSTANT("T_FUNC_C", T_FUNC_C, CONST_CS | CONST_PERSISTENT);
142: REGISTER_LONG_CONSTANT("T_LINE", T_LINE, CONST_CS | CONST_PERSISTENT);
143: REGISTER_LONG_CONSTANT("T_FILE", T_FILE, CONST_CS | CONST_PERSISTENT);
144: REGISTER_LONG_CONSTANT("T_COMMENT", T_COMMENT, CONST_CS | CONST_PERSISTENT);
145: REGISTER_LONG_CONSTANT("T_DOC_COMMENT", T_DOC_COMMENT, CONST_CS | CONST_PERSISTENT);
146: REGISTER_LONG_CONSTANT("T_OPEN_TAG", T_OPEN_TAG, CONST_CS | CONST_PERSISTENT);
147: REGISTER_LONG_CONSTANT("T_OPEN_TAG_WITH_ECHO", T_OPEN_TAG_WITH_ECHO, CONST_CS | CONST_PERSISTENT);
148: REGISTER_LONG_CONSTANT("T_CLOSE_TAG", T_CLOSE_TAG, CONST_CS | CONST_PERSISTENT);
149: REGISTER_LONG_CONSTANT("T_WHITESPACE", T_WHITESPACE, CONST_CS | CONST_PERSISTENT);
150: REGISTER_LONG_CONSTANT("T_START_HEREDOC", T_START_HEREDOC, CONST_CS | CONST_PERSISTENT);
151: REGISTER_LONG_CONSTANT("T_END_HEREDOC", T_END_HEREDOC, CONST_CS | CONST_PERSISTENT);
152: REGISTER_LONG_CONSTANT("T_DOLLAR_OPEN_CURLY_BRACES", T_DOLLAR_OPEN_CURLY_BRACES, CONST_CS | CONST_PERSISTENT);
153: REGISTER_LONG_CONSTANT("T_CURLY_OPEN", T_CURLY_OPEN, CONST_CS | CONST_PERSISTENT);
154: REGISTER_LONG_CONSTANT("T_PAAMAYIM_NEKUDOTAYIM", T_PAAMAYIM_NEKUDOTAYIM, CONST_CS | CONST_PERSISTENT);
155: REGISTER_LONG_CONSTANT("T_NAMESPACE", T_NAMESPACE, CONST_CS | CONST_PERSISTENT);
156: REGISTER_LONG_CONSTANT("T_NS_C", T_NS_C, CONST_CS | CONST_PERSISTENT);
157: REGISTER_LONG_CONSTANT("T_DIR", T_DIR, CONST_CS | CONST_PERSISTENT);
158: REGISTER_LONG_CONSTANT("T_NS_SEPARATOR", T_NS_SEPARATOR, CONST_CS | CONST_PERSISTENT);
159: REGISTER_LONG_CONSTANT("T_DOUBLE_COLON", T_PAAMAYIM_NEKUDOTAYIM, CONST_CS | CONST_PERSISTENT);
160: }
161:
162: char *get_token_type_name(int token_type)
163: {
164: switch (token_type) {
165:
166: case T_REQUIRE_ONCE: return "T_REQUIRE_ONCE";
167: case T_REQUIRE: return "T_REQUIRE";
168: case T_EVAL: return "T_EVAL";
169: case T_INCLUDE_ONCE: return "T_INCLUDE_ONCE";
170: case T_INCLUDE: return "T_INCLUDE";
171: case T_LOGICAL_OR: return "T_LOGICAL_OR";
172: case T_LOGICAL_XOR: return "T_LOGICAL_XOR";
173: case T_LOGICAL_AND: return "T_LOGICAL_AND";
174: case T_PRINT: return "T_PRINT";
175: case T_SR_EQUAL: return "T_SR_EQUAL";
176: case T_SL_EQUAL: return "T_SL_EQUAL";
177: case T_XOR_EQUAL: return "T_XOR_EQUAL";
178: case T_OR_EQUAL: return "T_OR_EQUAL";
179: case T_AND_EQUAL: return "T_AND_EQUAL";
180: case T_MOD_EQUAL: return "T_MOD_EQUAL";
181: case T_CONCAT_EQUAL: return "T_CONCAT_EQUAL";
182: case T_DIV_EQUAL: return "T_DIV_EQUAL";
183: case T_MUL_EQUAL: return "T_MUL_EQUAL";
184: case T_MINUS_EQUAL: return "T_MINUS_EQUAL";
185: case T_PLUS_EQUAL: return "T_PLUS_EQUAL";
186: case T_BOOLEAN_OR: return "T_BOOLEAN_OR";
187: case T_BOOLEAN_AND: return "T_BOOLEAN_AND";
188: case T_IS_NOT_IDENTICAL: return "T_IS_NOT_IDENTICAL";
189: case T_IS_IDENTICAL: return "T_IS_IDENTICAL";
190: case T_IS_NOT_EQUAL: return "T_IS_NOT_EQUAL";
191: case T_IS_EQUAL: return "T_IS_EQUAL";
192: case T_IS_GREATER_OR_EQUAL: return "T_IS_GREATER_OR_EQUAL";
193: case T_IS_SMALLER_OR_EQUAL: return "T_IS_SMALLER_OR_EQUAL";
194: case T_SR: return "T_SR";
195: case T_SL: return "T_SL";
196: case T_INSTANCEOF: return "T_INSTANCEOF";
197: case T_UNSET_CAST: return "T_UNSET_CAST";
198: case T_BOOL_CAST: return "T_BOOL_CAST";
199: case T_OBJECT_CAST: return "T_OBJECT_CAST";
200: case T_ARRAY_CAST: return "T_ARRAY_CAST";
201: case T_STRING_CAST: return "T_STRING_CAST";
202: case T_DOUBLE_CAST: return "T_DOUBLE_CAST";
203: case T_INT_CAST: return "T_INT_CAST";
204: case T_DEC: return "T_DEC";
205: case T_INC: return "T_INC";
206: case T_CLONE: return "T_CLONE";
207: case T_NEW: return "T_NEW";
208: case T_EXIT: return "T_EXIT";
209: case T_IF: return "T_IF";
210: case T_ELSEIF: return "T_ELSEIF";
211: case T_ELSE: return "T_ELSE";
212: case T_ENDIF: return "T_ENDIF";
213: case T_LNUMBER: return "T_LNUMBER";
214: case T_DNUMBER: return "T_DNUMBER";
215: case T_STRING: return "T_STRING";
216: case T_STRING_VARNAME: return "T_STRING_VARNAME";
217: case T_VARIABLE: return "T_VARIABLE";
218: case T_NUM_STRING: return "T_NUM_STRING";
219: case T_INLINE_HTML: return "T_INLINE_HTML";
220: case T_CHARACTER: return "T_CHARACTER";
221: case T_BAD_CHARACTER: return "T_BAD_CHARACTER";
222: case T_ENCAPSED_AND_WHITESPACE: return "T_ENCAPSED_AND_WHITESPACE";
223: case T_CONSTANT_ENCAPSED_STRING: return "T_CONSTANT_ENCAPSED_STRING";
224: case T_ECHO: return "T_ECHO";
225: case T_DO: return "T_DO";
226: case T_WHILE: return "T_WHILE";
227: case T_ENDWHILE: return "T_ENDWHILE";
228: case T_FOR: return "T_FOR";
229: case T_ENDFOR: return "T_ENDFOR";
230: case T_FOREACH: return "T_FOREACH";
231: case T_ENDFOREACH: return "T_ENDFOREACH";
232: case T_DECLARE: return "T_DECLARE";
233: case T_ENDDECLARE: return "T_ENDDECLARE";
234: case T_AS: return "T_AS";
235: case T_SWITCH: return "T_SWITCH";
236: case T_ENDSWITCH: return "T_ENDSWITCH";
237: case T_CASE: return "T_CASE";
238: case T_DEFAULT: return "T_DEFAULT";
239: case T_BREAK: return "T_BREAK";
240: case T_CONTINUE: return "T_CONTINUE";
241: case T_GOTO: return "T_GOTO";
242: case T_FUNCTION: return "T_FUNCTION";
243: case T_CONST: return "T_CONST";
244: case T_RETURN: return "T_RETURN";
245: case T_TRY: return "T_TRY";
246: case T_CATCH: return "T_CATCH";
247: case T_THROW: return "T_THROW";
248: case T_USE: return "T_USE";
1.1.1.2 misho 249: case T_INSTEADOF: return "T_INSTEADOF";
1.1 misho 250: case T_GLOBAL: return "T_GLOBAL";
251: case T_PUBLIC: return "T_PUBLIC";
252: case T_PROTECTED: return "T_PROTECTED";
253: case T_PRIVATE: return "T_PRIVATE";
254: case T_FINAL: return "T_FINAL";
255: case T_ABSTRACT: return "T_ABSTRACT";
256: case T_STATIC: return "T_STATIC";
257: case T_VAR: return "T_VAR";
258: case T_UNSET: return "T_UNSET";
259: case T_ISSET: return "T_ISSET";
260: case T_EMPTY: return "T_EMPTY";
261: case T_HALT_COMPILER: return "T_HALT_COMPILER";
262: case T_CLASS: return "T_CLASS";
1.1.1.2 misho 263: case T_TRAIT: return "T_TRAIT";
1.1 misho 264: case T_INTERFACE: return "T_INTERFACE";
265: case T_EXTENDS: return "T_EXTENDS";
266: case T_IMPLEMENTS: return "T_IMPLEMENTS";
267: case T_OBJECT_OPERATOR: return "T_OBJECT_OPERATOR";
268: case T_DOUBLE_ARROW: return "T_DOUBLE_ARROW";
269: case T_LIST: return "T_LIST";
270: case T_ARRAY: return "T_ARRAY";
1.1.1.2 misho 271: case T_CALLABLE: return "T_CALLABLE";
1.1 misho 272: case T_CLASS_C: return "T_CLASS_C";
1.1.1.2 misho 273: case T_TRAIT_C: return "T_TRAIT_C";
1.1 misho 274: case T_METHOD_C: return "T_METHOD_C";
275: case T_FUNC_C: return "T_FUNC_C";
276: case T_LINE: return "T_LINE";
277: case T_FILE: return "T_FILE";
278: case T_COMMENT: return "T_COMMENT";
279: case T_DOC_COMMENT: return "T_DOC_COMMENT";
280: case T_OPEN_TAG: return "T_OPEN_TAG";
281: case T_OPEN_TAG_WITH_ECHO: return "T_OPEN_TAG_WITH_ECHO";
282: case T_CLOSE_TAG: return "T_CLOSE_TAG";
283: case T_WHITESPACE: return "T_WHITESPACE";
284: case T_START_HEREDOC: return "T_START_HEREDOC";
285: case T_END_HEREDOC: return "T_END_HEREDOC";
286: case T_DOLLAR_OPEN_CURLY_BRACES: return "T_DOLLAR_OPEN_CURLY_BRACES";
287: case T_CURLY_OPEN: return "T_CURLY_OPEN";
288: case T_PAAMAYIM_NEKUDOTAYIM: return "T_DOUBLE_COLON";
289: case T_NAMESPACE: return "T_NAMESPACE";
290: case T_NS_C: return "T_NS_C";
291: case T_DIR: return "T_DIR";
292: case T_NS_SEPARATOR: return "T_NS_SEPARATOR";
293:
294: }
295: return "UNKNOWN";
296: }
297:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>