Lines Matching refs:zend_ast

185 	zend_ast *child[1]; /* Array of children (using struct hack) */
194 zend_ast *child[1];
213 zend_ast *child[5];
216 typedef void (*zend_ast_process_t)(zend_ast *ast);
219 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_with_lineno(zval *zv, uint32_t lineno);
220 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_ex(zval *zv, zend_ast_attr attr);
221 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval(zval *zv);
222 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_from_str(zend_string *str);
223 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_zval_from_long(zend_long lval);
225 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_constant(zend_string *name, zend_ast_attr attr);
226 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_class_const_or_name(zend_ast *class_name, zend_as…
238 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_0(zend_ast_kind kind);
239 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_1(zend_ast_kind kind, zend_ast *child);
240 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_2(zend_ast_kind kind, zend_ast *child1, zend_ast
241 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_3(zend_ast_kind kind, zend_ast *child1, zend_ast
242 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_4(zend_ast_kind kind, zend_ast *child1, zend_ast
243 …_API zend_ast * ZEND_FASTCALL zend_ast_create_5(zend_ast_kind kind, zend_ast *child1, zend_ast *ch…
245 static zend_always_inline zend_ast * zend_ast_create_ex_0(zend_ast_kind kind, zend_ast_attr attr) { in zend_ast_create_ex_0()
246 zend_ast *ast = zend_ast_create_0(kind); in zend_ast_create_ex_0()
250 static zend_always_inline zend_ast * zend_ast_create_ex_1(zend_ast_kind kind, zend_ast_attr attr, z… in zend_ast_create_ex_1()
251 zend_ast *ast = zend_ast_create_1(kind, child); in zend_ast_create_ex_1()
255 static zend_always_inline zend_ast * zend_ast_create_ex_2(zend_ast_kind kind, zend_ast_attr attr, z… in zend_ast_create_ex_2()
256 zend_ast *ast = zend_ast_create_2(kind, child1, child2); in zend_ast_create_ex_2()
260 …end_always_inline zend_ast * zend_ast_create_ex_3(zend_ast_kind kind, zend_ast_attr attr, zend_ast in zend_ast_create_ex_3()
261 zend_ast *ast = zend_ast_create_3(kind, child1, child2, child3); in zend_ast_create_ex_3()
265 …s_inline zend_ast * zend_ast_create_ex_4(zend_ast_kind kind, zend_ast_attr attr, zend_ast *child1,… in zend_ast_create_ex_4()
266 zend_ast *ast = zend_ast_create_4(kind, child1, child2, child3, child4); in zend_ast_create_ex_4()
270zend_ast * zend_ast_create_ex_5(zend_ast_kind kind, zend_ast_attr attr, zend_ast *child1, zend_ast in zend_ast_create_ex_5()
271 zend_ast *ast = zend_ast_create_5(kind, child1, child2, child3, child4, child5); in zend_ast_create_ex_5()
276 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_list_0(zend_ast_kind kind);
277 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_list_1(zend_ast_kind kind, zend_ast *child);
278 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_create_list_2(zend_ast_kind kind, zend_ast *child1, zend…
288 ZEND_API zend_ast *zend_ast_create(zend_ast_kind kind, ...);
289 ZEND_API zend_ast *zend_ast_create_ex(zend_ast_kind kind, zend_ast_attr attr, ...);
290 ZEND_API zend_ast *zend_ast_create_list(uint32_t init_children, zend_ast_kind kind, ...);
293 ZEND_API zend_ast * ZEND_FASTCALL zend_ast_list_add(zend_ast *list, zend_ast *op);
295 ZEND_API zend_ast *zend_ast_create_decl(
297 …zend_string *name, zend_ast *child0, zend_ast *child1, zend_ast *child2, zend_ast *child3, zend_as…
304 ZEND_API zend_result ZEND_FASTCALL zend_ast_evaluate(zval *result, zend_ast *ast, zend_class_entry …
305 ZEND_API zend_result ZEND_FASTCALL zend_ast_evaluate_ex(zval *result, zend_ast *ast, zend_class_ent…
306 ZEND_API zend_string *zend_ast_export(const char *prefix, zend_ast *ast, const char *suffix);
308 ZEND_API zend_ast_ref * ZEND_FASTCALL zend_ast_copy(zend_ast *ast);
309 ZEND_API void ZEND_FASTCALL zend_ast_destroy(zend_ast *ast);
312 typedef void (*zend_ast_apply_func)(zend_ast **ast_ptr, void *context);
313 ZEND_API void zend_ast_apply(zend_ast *ast, zend_ast_apply_func fn, void *context);
316 return XtOffsetOf(zend_ast, child) + (sizeof(zend_ast *) * children); in zend_ast_size()
319 static zend_always_inline bool zend_ast_is_special(zend_ast *ast) { in zend_ast_is_special()
323 static zend_always_inline bool zend_ast_is_list(zend_ast *ast) { in zend_ast_is_list()
326 static zend_always_inline zend_ast_list *zend_ast_get_list(zend_ast *ast) { in zend_ast_get_list()
331 static zend_always_inline zval *zend_ast_get_zval(zend_ast *ast) { in zend_ast_get_zval()
335 static zend_always_inline zend_string *zend_ast_get_str(zend_ast *ast) { in zend_ast_get_str()
341 static zend_always_inline zend_string *zend_ast_get_constant_name(zend_ast *ast) { in zend_ast_get_constant_name()
347 static zend_always_inline uint32_t zend_ast_get_num_children(zend_ast *ast) { in zend_ast_get_num_children()
351 static zend_always_inline uint32_t zend_ast_get_lineno(zend_ast *ast) { in zend_ast_get_lineno()
363 static zend_always_inline zend_ast *zend_ast_create_binary_op(uint32_t opcode, zend_ast *op0, zend_… in zend_ast_create_binary_op()
367 zend_ast *zend_ast_create_concat_op(zend_ast *op0, zend_ast *op1);
369 static zend_always_inline zend_ast *zend_ast_create_assign_op(uint32_t opcode, zend_ast *op0, zend_… in zend_ast_create_assign_op()
372 static zend_always_inline zend_ast *zend_ast_create_cast(uint32_t type, zend_ast *op0) { in zend_ast_create_cast()
375 static zend_always_inline zend_ast *zend_ast_list_rtrim(zend_ast *ast) { in zend_ast_list_rtrim()
383 zend_ast * ZEND_FASTCALL zend_ast_with_attributes(zend_ast *ast, zend_ast *attr);