Lines Matching refs:elem_ast

3189 		zend_ast *elem_ast = list->child[i];  in zend_propagate_list_refs()  local
3191 if (elem_ast) { in zend_propagate_list_refs()
3192 zend_ast *var_ast = elem_ast->child[0]; in zend_propagate_list_refs()
3194 elem_ast->attr = zend_propagate_list_refs(var_ast); in zend_propagate_list_refs()
3196 has_refs |= elem_ast->attr; in zend_propagate_list_refs()
3228 zend_ast *elem_ast = list->child[i]; in zend_compile_list_assign() local
3233 if (elem_ast == NULL) { in zend_compile_list_assign()
3242 if (elem_ast->kind == ZEND_AST_UNPACK) { in zend_compile_list_assign()
3247 var_ast = elem_ast->child[0]; in zend_compile_list_assign()
3248 key_ast = elem_ast->child[1]; in zend_compile_list_assign()
3275elem_ast->attr ? (expr_node->op_type == IS_CV ? ZEND_FETCH_DIM_W : ZEND_FETCH_LIST_W) : ZEND_FETCH… in zend_compile_list_assign()
3281 if (elem_ast->attr) { in zend_compile_list_assign()
3286 } else if (elem_ast->attr) { in zend_compile_list_assign()
5627 zend_ast *elem_ast = list->child[i]; in zend_compile_if() local
5628 zend_ast *cond_ast = elem_ast->child[0]; in zend_compile_if()
5629 zend_ast *stmt_ast = elem_ast->child[1]; in zend_compile_if()
5648 CG(zend_lineno) = elem_ast->lineno; in zend_compile_if()
8842 zend_ast *elem_ast = list->child[i]; in zend_try_ct_eval_array() local
8844 if (elem_ast == NULL) { in zend_try_ct_eval_array()
8852 if (elem_ast->kind != ZEND_AST_UNPACK) { in zend_try_ct_eval_array()
8853 zend_eval_const_expr(&elem_ast->child[0]); in zend_try_ct_eval_array()
8854 zend_eval_const_expr(&elem_ast->child[1]); in zend_try_ct_eval_array()
8856 if (elem_ast->attr /* by_ref */ || elem_ast->child[0]->kind != ZEND_AST_ZVAL in zend_try_ct_eval_array()
8857 || (elem_ast->child[1] && elem_ast->child[1]->kind != ZEND_AST_ZVAL) in zend_try_ct_eval_array()
8862 zend_eval_const_expr(&elem_ast->child[0]); in zend_try_ct_eval_array()
8864 if (elem_ast->child[0]->kind != ZEND_AST_ZVAL) { in zend_try_ct_eval_array()
8869 last_elem_ast = elem_ast; in zend_try_ct_eval_array()
8883 zend_ast *elem_ast = list->child[i]; in zend_try_ct_eval_array() local
8884 zend_ast *value_ast = elem_ast->child[0]; in zend_try_ct_eval_array()
8888 if (elem_ast->kind == ZEND_AST_UNPACK) { in zend_try_ct_eval_array()
8912 key_ast = elem_ast->child[1]; in zend_try_ct_eval_array()
9737 zend_ast *elem_ast = list->child[i]; in zend_compile_array() local
9742 if (elem_ast == NULL) { in zend_compile_array()
9746 value_ast = elem_ast->child[0]; in zend_compile_array()
9748 if (elem_ast->kind == ZEND_AST_UNPACK) { in zend_compile_array()
9759 key_ast = elem_ast->child[1]; in zend_compile_array()
9760 by_ref = elem_ast->attr; in zend_compile_array()