Lines Matching refs:name_node
2766 znode name_node; in zend_compile_class_ref() local
2768 zend_compile_expr(&name_node, name_ast); in zend_compile_class_ref()
2770 if (name_node.op_type == IS_CONST) { in zend_compile_class_ref()
2773 if (Z_TYPE(name_node.u.constant) != IS_STRING) { in zend_compile_class_ref()
2777 name = Z_STR(name_node.u.constant); in zend_compile_class_ref()
2791 zend_op *opline = zend_emit_op(result, ZEND_FETCH_CLASS, NULL, &name_node); in zend_compile_class_ref()
2850 znode name_node; in zend_compile_simple_var_no_cv() local
2853 zend_compile_expr(&name_node, name_ast); in zend_compile_simple_var_no_cv()
2854 if (name_node.op_type == IS_CONST) { in zend_compile_simple_var_no_cv()
2855 convert_to_string(&name_node.u.constant); in zend_compile_simple_var_no_cv()
2859 opline = zend_delayed_emit_op(result, ZEND_FETCH_R, &name_node, NULL); in zend_compile_simple_var_no_cv()
2861 opline = zend_emit_op(result, ZEND_FETCH_R, &name_node, NULL); in zend_compile_simple_var_no_cv()
2864 if (name_node.op_type == IS_CONST && in zend_compile_simple_var_no_cv()
2865 zend_is_auto_global(Z_STR(name_node.u.constant))) { in zend_compile_simple_var_no_cv()
3905 static bool zend_compile_function_name(znode *name_node, zend_ast *name_ast) /* {{{ */ in zend_compile_function_name() argument
3910 name_node->op_type = IS_CONST; in zend_compile_function_name()
3911 ZVAL_STR(&name_node->u.constant, zend_resolve_function_name( in zend_compile_function_name()
3918 static void zend_compile_ns_call(znode *result, znode *name_node, zend_ast *args_ast, uint32_t line… in zend_compile_ns_call() argument
3924 Z_STR(name_node->u.constant)); in zend_compile_ns_call()
3931 static void zend_compile_dynamic_call(znode *result, znode *name_node, zend_ast *args_ast, uint32_t… in zend_compile_dynamic_call() argument
3933 if (name_node->op_type == IS_CONST && Z_TYPE(name_node->u.constant) == IS_STRING) { in zend_compile_dynamic_call()
3935 zend_string *str = Z_STR(name_node->u.constant); in zend_compile_dynamic_call()
3948 zval_ptr_dtor(&name_node->u.constant); in zend_compile_dynamic_call()
3958 zend_emit_op(NULL, ZEND_INIT_DYNAMIC_CALL, NULL, name_node); in zend_compile_dynamic_call()
4181 znode name_node; in zend_compile_init_user_func() local
4187 zend_compile_expr(&name_node, name_ast); in zend_compile_init_user_func()
4189 opline = zend_emit_op(NULL, ZEND_INIT_USER_CALL, NULL, &name_node); in zend_compile_init_user_func()
4279 znode name_node; in zend_compile_assert() local
4286 name_node.op_type = IS_CONST; in zend_compile_assert()
4287 ZVAL_STR_COPY(&name_node.u.constant, name); in zend_compile_assert()
4289 opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, &name_node); in zend_compile_assert()
4634 znode name_node; in zend_compile_call() local
4637 zend_compile_expr(&name_node, name_ast); in zend_compile_call()
4638 zend_compile_dynamic_call(result, &name_node, args_ast, ast->lineno); in zend_compile_call()
4643 bool runtime_resolution = zend_compile_function_name(&name_node, name_ast); in zend_compile_call()
4647 …zend_compile_assert(result, zend_ast_get_list(args_ast), Z_STR(name_node.u.constant), NULL, ast->l… in zend_compile_call()
4649 zend_compile_ns_call(result, &name_node, args_ast, ast->lineno); in zend_compile_call()
4656 zval *name = &name_node.u.constant; in zend_compile_call()
4668 zval_ptr_dtor(&name_node.u.constant); in zend_compile_call()
4676 zend_compile_dynamic_call(result, &name_node, args_ast, ast->lineno); in zend_compile_call()
4685 zval_ptr_dtor(&name_node.u.constant); in zend_compile_call()
4689 zval_ptr_dtor(&name_node.u.constant); in zend_compile_call()
4690 ZVAL_NEW_STR(&name_node.u.constant, lcname); in zend_compile_call()
4692 opline = zend_emit_op(NULL, ZEND_INIT_FCALL, NULL, &name_node); in zend_compile_call()
4913 znode name_node, result; in zend_compile_global_var() local
4915 zend_compile_expr(&name_node, name_ast); in zend_compile_global_var()
4916 if (name_node.op_type == IS_CONST) { in zend_compile_global_var()
4917 convert_to_string(&name_node.u.constant); in zend_compile_global_var()
4924 zend_op *opline = zend_emit_op(NULL, ZEND_BIND_GLOBAL, &result, &name_node); in zend_compile_global_var()
4930 zend_op *opline = zend_emit_op(&result, ZEND_FETCH_W, &name_node, NULL); in zend_compile_global_var()
4933 if (name_node.op_type == IS_CONST) { in zend_compile_global_var()
4934 zend_string_addref(Z_STR(name_node.u.constant)); in zend_compile_global_var()
4938 zend_ast_create(ZEND_AST_VAR, zend_ast_create_znode(&name_node)), in zend_compile_global_var()
7214 znode name_node, value_node; in zend_compile_params() local
7215 name_node.op_type = IS_CONST; in zend_compile_params()
7216 ZVAL_STR_COPY(&name_node.u.constant, name); in zend_compile_params()
7221 is_ref ? ZEND_ASSIGN_OBJ_REF : ZEND_ASSIGN_OBJ, NULL, &name_node); in zend_compile_params()
8485 znode name_node, value_node; in zend_compile_const_decl() local
8507 name_node.op_type = IS_CONST; in zend_compile_const_decl()
8508 ZVAL_STR(&name_node.u.constant, name); in zend_compile_const_decl()
8510 zend_emit_op(NULL, ZEND_DECLARE_CONST, &name_node, &value_node); in zend_compile_const_decl()