Lines Matching refs:name_node
2846 znode name_node; in zend_compile_class_ref() local
2848 zend_compile_expr(&name_node, name_ast); in zend_compile_class_ref()
2850 if (name_node.op_type == IS_CONST) { in zend_compile_class_ref()
2853 if (Z_TYPE(name_node.u.constant) != IS_STRING) { in zend_compile_class_ref()
2857 name = Z_STR(name_node.u.constant); in zend_compile_class_ref()
2871 zend_op *opline = zend_emit_op(result, ZEND_FETCH_CLASS, NULL, &name_node); in zend_compile_class_ref()
2930 znode name_node; in zend_compile_simple_var_no_cv() local
2933 zend_compile_expr(&name_node, name_ast); in zend_compile_simple_var_no_cv()
2934 if (name_node.op_type == IS_CONST) { in zend_compile_simple_var_no_cv()
2935 convert_to_string(&name_node.u.constant); in zend_compile_simple_var_no_cv()
2939 opline = zend_delayed_emit_op(result, ZEND_FETCH_R, &name_node, NULL); in zend_compile_simple_var_no_cv()
2941 opline = zend_emit_op(result, ZEND_FETCH_R, &name_node, NULL); in zend_compile_simple_var_no_cv()
2944 if (name_node.op_type == IS_CONST && in zend_compile_simple_var_no_cv()
2945 zend_is_auto_global(Z_STR(name_node.u.constant))) { in zend_compile_simple_var_no_cv()
3997 static bool zend_compile_function_name(znode *name_node, zend_ast *name_ast) /* {{{ */ in zend_compile_function_name() argument
4002 name_node->op_type = IS_CONST; in zend_compile_function_name()
4003 ZVAL_STR(&name_node->u.constant, zend_resolve_function_name( in zend_compile_function_name()
4010 static void zend_compile_dynamic_call(znode *result, znode *name_node, zend_ast *args_ast, uint32_t… in zend_compile_dynamic_call() argument
4012 if (name_node->op_type == IS_CONST && Z_TYPE(name_node->u.constant) == IS_STRING) { in zend_compile_dynamic_call()
4014 zend_string *str = Z_STR(name_node->u.constant); in zend_compile_dynamic_call()
4027 zval_ptr_dtor(&name_node->u.constant); in zend_compile_dynamic_call()
4037 zend_emit_op(NULL, ZEND_INIT_DYNAMIC_CALL, NULL, name_node); in zend_compile_dynamic_call()
4260 znode name_node; in zend_compile_init_user_func() local
4266 zend_compile_expr(&name_node, name_ast); in zend_compile_init_user_func()
4268 opline = zend_emit_op(NULL, ZEND_INIT_USER_CALL, NULL, &name_node); in zend_compile_init_user_func()
4358 znode name_node; in zend_compile_assert() local
4365 name_node.op_type = IS_CONST; in zend_compile_assert()
4366 ZVAL_STR_COPY(&name_node.u.constant, name); in zend_compile_assert()
4368 opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, &name_node); in zend_compile_assert()
4720 static void zend_compile_ns_call(znode *result, znode *name_node, zend_ast *args_ast, uint32_t line… in zend_compile_ns_call() argument
4722 int name_constants = zend_add_ns_func_name_literal(Z_STR(name_node->u.constant)); in zend_compile_ns_call()
5137 znode name_node; in zend_compile_call() local
5140 zend_compile_expr(&name_node, name_ast); in zend_compile_call()
5141 zend_compile_dynamic_call(result, &name_node, args_ast, ast->lineno); in zend_compile_call()
5146 bool runtime_resolution = zend_compile_function_name(&name_node, name_ast); in zend_compile_call()
5150 …zend_compile_assert(result, zend_ast_get_list(args_ast), Z_STR(name_node.u.constant), NULL, ast->l… in zend_compile_call()
5152 zend_compile_ns_call(result, &name_node, args_ast, ast->lineno, type); in zend_compile_call()
5159 zval *name = &name_node.u.constant; in zend_compile_call()
5172 zval_ptr_dtor(&name_node.u.constant); in zend_compile_call()
5180 zend_compile_dynamic_call(result, &name_node, args_ast, ast->lineno); in zend_compile_call()
5189 zval_ptr_dtor(&name_node.u.constant); in zend_compile_call()
5193 zval_ptr_dtor(&name_node.u.constant); in zend_compile_call()
5194 ZVAL_NEW_STR(&name_node.u.constant, lcname); in zend_compile_call()
5196 opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, &name_node); in zend_compile_call()
5427 znode name_node, result; in zend_compile_global_var() local
5429 zend_compile_expr(&name_node, name_ast); in zend_compile_global_var()
5430 if (name_node.op_type == IS_CONST) { in zend_compile_global_var()
5431 convert_to_string(&name_node.u.constant); in zend_compile_global_var()
5438 zend_op *opline = zend_emit_op(NULL, ZEND_BIND_GLOBAL, &result, &name_node); in zend_compile_global_var()
5444 zend_op *opline = zend_emit_op(&result, ZEND_FETCH_W, &name_node, NULL); in zend_compile_global_var()
5447 if (name_node.op_type == IS_CONST) { in zend_compile_global_var()
5448 zend_string_addref(Z_STR(name_node.u.constant)); in zend_compile_global_var()
5452 zend_ast_create(ZEND_AST_VAR, zend_ast_create_znode(&name_node)), in zend_compile_global_var()
7828 znode name_node, value_node; in zend_compile_params() local
7829 name_node.op_type = IS_CONST; in zend_compile_params()
7830 ZVAL_STR_COPY(&name_node.u.constant, name); in zend_compile_params()
7835 is_ref ? ZEND_ASSIGN_OBJ_REF : ZEND_ASSIGN_OBJ, NULL, &name_node); in zend_compile_params()
9425 znode name_node, value_node; in zend_compile_const_decl() local
9447 name_node.op_type = IS_CONST; in zend_compile_const_decl()
9448 ZVAL_STR(&name_node.u.constant, name); in zend_compile_const_decl()
9450 zend_emit_op(NULL, ZEND_DECLARE_CONST, &name_node, &value_node); in zend_compile_const_decl()