Lines Matching refs:class_ast
1564 static zend_bool zend_try_compile_const_expr_resolve_class_name(zval *zv, zend_ast *class_ast) /* {… in zend_try_compile_const_expr_resolve_class_name() argument
1569 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_try_compile_const_expr_resolve_class_name()
1573 class_name = zend_ast_get_zval(class_ast); in zend_try_compile_const_expr_resolve_class_name()
1599 ZVAL_STR(zv, zend_resolve_class_name_ast(class_ast)); in zend_try_compile_const_expr_resolve_class_name()
2851 zend_ast *class_ast = ast->child[0]; in zend_compile_static_prop() local
2857 zend_short_circuiting_mark_inner(class_ast); in zend_compile_static_prop()
2858 zend_compile_class_ref(&class_node, class_ast, ZEND_FETCH_CLASS_EXCEPTION); in zend_compile_static_prop()
4451 zend_ast *class_ast = ast->child[0]; in zend_compile_static_call() local
4459 zend_short_circuiting_mark_inner(class_ast); in zend_compile_static_call()
4460 zend_compile_class_ref(&class_node, class_ast, ZEND_FETCH_CLASS_EXCEPTION); in zend_compile_static_call()
4521 zend_ast *class_ast = ast->child[0]; in zend_compile_new() local
4527 if (class_ast->kind == ZEND_AST_CLASS) { in zend_compile_new()
4529 zend_compile_class_decl(&class_node, class_ast, 0); in zend_compile_new()
4531 zend_compile_class_ref(&class_node, class_ast, ZEND_FETCH_CLASS_EXCEPTION); in zend_compile_new()
5749 zend_ast *class_ast = classes->child[j]; in zend_compile_try() local
5752 if (!zend_is_const_default_class_ref(class_ast)) { in zend_compile_try()
5765 zend_resolve_class_name_ast(class_ast)); in zend_compile_try()
7180 zend_ast *class_ast = ast->child[0]; in zend_compile_method_ref() local
7185 if (class_ast) { in zend_compile_method_ref()
7186 method_ref->class_name = zend_resolve_const_class_name_reference(class_ast, "trait name"); in zend_compile_method_ref()
7291 zend_ast *class_ast = list->child[i]; in zend_compile_implements() local
7293 zend_resolve_const_class_name_reference(class_ast, "interface name"); in zend_compile_implements()
8690 zend_ast *class_ast = ast->child[1]; in zend_compile_instanceof() local
8703 zend_compile_class_ref(&class_node, class_ast, in zend_compile_instanceof()
8960 zend_ast *class_ast = ast->child[0]; in zend_compile_class_const() local
8969 class_ast = ast->child[0]; in zend_compile_class_const()
8972 if (class_ast->kind == ZEND_AST_ZVAL) { in zend_compile_class_const()
8975 resolved_name = zend_resolve_class_name_ast(class_ast); in zend_compile_class_const()
8984 zend_compile_class_ref(&class_node, class_ast, ZEND_FETCH_CLASS_EXCEPTION); in zend_compile_class_const()
8998 zend_ast *class_ast = ast->child[0]; in zend_compile_class_name() local
9000 if (zend_try_compile_const_expr_resolve_class_name(&result->u.constant, class_ast)) { in zend_compile_class_name()
9005 if (class_ast->kind == ZEND_AST_ZVAL) { in zend_compile_class_name()
9007 opline->op1.num = zend_get_class_fetch_type(zend_ast_get_str(class_ast)); in zend_compile_class_name()
9010 zend_compile_expr(&expr_node, class_ast); in zend_compile_class_name()
9211 zend_ast *class_ast = ast->child[0]; in zend_compile_const_expr_class_const() local
9218 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_class_const()
9223 class_name = zend_ast_get_str(class_ast); in zend_compile_const_expr_class_const()
9232 class_name = zend_resolve_class_name_ast(class_ast); in zend_compile_const_expr_class_const()
9249 zend_ast *class_ast = ast->child[0]; in zend_compile_const_expr_class_name() local
9250 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_class_name()
9255 zend_string *class_name = zend_ast_get_str(class_ast); in zend_compile_const_expr_class_name()
9949 zend_ast *class_ast; in zend_eval_const_expr() local
9956 class_ast = ast->child[0]; in zend_eval_const_expr()
9959 if (class_ast->kind != ZEND_AST_ZVAL || name_ast->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
9963 resolved_name = zend_resolve_class_name_ast(class_ast); in zend_eval_const_expr()
9975 zend_ast *class_ast = ast->child[0]; in zend_eval_const_expr() local
9976 if (!zend_try_compile_const_expr_resolve_class_name(&result, class_ast)) { in zend_eval_const_expr()