Lines Matching refs:class_ast

1476 static zend_bool zend_try_compile_const_expr_resolve_class_name(zval *zv, zend_ast *class_ast, zend…  in zend_try_compile_const_expr_resolve_class_name()  argument
1488 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_try_compile_const_expr_resolve_class_name()
1493 fetch_type = zend_get_class_fetch_type(zend_ast_get_str(class_ast)); in zend_try_compile_const_expr_resolve_class_name()
1516 ZVAL_STR(zv, zend_resolve_class_name_ast(class_ast)); in zend_try_compile_const_expr_resolve_class_name()
2777 zend_ast *class_ast = ast->child[0]; in zend_compile_static_prop_common() local
2783 zend_compile_class_ref_ex(&class_node, class_ast, ZEND_FETCH_CLASS_EXCEPTION); in zend_compile_static_prop_common()
3840 zend_ast *class_ast = ast->child[0]; in zend_compile_static_call() local
3848 zend_compile_class_ref_ex(&class_node, class_ast, ZEND_FETCH_CLASS_EXCEPTION); in zend_compile_static_call()
3910 zend_ast *class_ast = ast->child[0]; in zend_compile_new() local
3917 if (class_ast->kind == ZEND_AST_CLASS) { in zend_compile_new()
3919 zend_compile_class_decl(class_ast); in zend_compile_new()
3929 zend_compile_class_ref_ex(&class_node, class_ast, ZEND_FETCH_CLASS_EXCEPTION); in zend_compile_new()
4784 zend_ast *class_ast = classes->child[j]; in zend_compile_try() local
4787 if (!zend_is_const_default_class_ref(class_ast)) { in zend_compile_try()
4800 zend_resolve_class_name_ast(class_ast)); in zend_compile_try()
5749 zend_ast *class_ast = ast->child[0]; in zend_compile_method_ref() local
5756 if (class_ast) { in zend_compile_method_ref()
5757 method_ref->class_name = zend_resolve_class_name_ast(class_ast); in zend_compile_method_ref()
5887 zend_ast *class_ast = list->child[i]; in zend_compile_implements() local
5888 zend_string *name = zend_ast_get_str(class_ast); in zend_compile_implements()
5892 if (!zend_is_const_default_class_ref(class_ast)) { in zend_compile_implements()
5900 zend_resolve_class_name_ast(class_ast)); in zend_compile_implements()
7098 zend_ast *class_ast = ast->child[1]; in zend_compile_instanceof() local
7109 zend_compile_class_ref_ex(&class_node, class_ast, in zend_compile_instanceof()
7361 zend_ast *class_ast = ast->child[0]; in zend_compile_class_const() local
7367 if (zend_try_compile_const_expr_resolve_class_name(&result->u.constant, class_ast, const_ast, 0)) { in zend_compile_class_const()
7370 opline->extended_value = zend_get_class_fetch_type(zend_ast_get_str(class_ast)); in zend_compile_class_const()
7380 class_ast = ast->child[0]; in zend_compile_class_const()
7383 if (class_ast->kind == ZEND_AST_ZVAL) { in zend_compile_class_const()
7386 resolved_name = zend_resolve_class_name_ast(class_ast); in zend_compile_class_const()
7399 zend_compile_class_ref_ex(&class_node, class_ast, ZEND_FETCH_CLASS_EXCEPTION); in zend_compile_class_const()
7614 zend_ast *class_ast = ast->child[0]; in zend_compile_const_expr_class_const() local
7621 if (class_ast->kind != ZEND_AST_ZVAL) { in zend_compile_const_expr_class_const()
7626 if (zend_try_compile_const_expr_resolve_class_name(&result, class_ast, const_ast, 1)) { in zend_compile_const_expr_class_const()
7631 class_name = zend_ast_get_str(class_ast); in zend_compile_const_expr_class_const()
7640 class_name = zend_resolve_class_name_ast(class_ast); in zend_compile_const_expr_class_const()
8304 zend_ast *class_ast = ast->child[0]; in zend_eval_const_expr() local
8308 if (zend_try_compile_const_expr_resolve_class_name(&result, class_ast, name_ast, 0)) { in zend_eval_const_expr()
8310 if (zend_get_class_fetch_type(zend_ast_get_str(class_ast)) == ZEND_FETCH_CLASS_SELF) { in zend_eval_const_expr()
8322 class_ast = ast->child[0]; in zend_eval_const_expr()
8330 if (class_ast->kind != ZEND_AST_ZVAL || name_ast->kind != ZEND_AST_ZVAL) { in zend_eval_const_expr()
8334 resolved_name = zend_resolve_class_name_ast(class_ast); in zend_eval_const_expr()