Lines Matching refs:active_class_entry

375 	CG(active_class_entry) = NULL;  in zend_init_compiler_data_structures()
1488 if (!CG(active_class_entry)) { in zend_is_scope_known()
1495 return (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) == 0; in zend_is_scope_known()
1501 if (!CG(active_class_entry)) { in class_name_refers_to_active_ce()
1508 && zend_string_equals_ci(class_name, CG(active_class_entry)->name); in class_name_refers_to_active_ce()
1551 zend_class_entry *ce = CG(active_class_entry); in zend_ensure_valid_class_fetch_type()
1584 if (CG(active_class_entry) && zend_is_scope_known()) { in zend_try_compile_const_expr_resolve_class_name()
1585 ZVAL_STR_COPY(zv, CG(active_class_entry)->name); in zend_try_compile_const_expr_resolve_class_name()
1590 if (CG(active_class_entry) && CG(active_class_entry)->parent_name in zend_try_compile_const_expr_resolve_class_name()
1592 ZVAL_STR_COPY(zv, CG(active_class_entry)->parent_name); in zend_try_compile_const_expr_resolve_class_name()
1643 cc = zend_hash_find_ptr(&CG(active_class_entry)->constants_table, name); in zend_try_ct_eval_class_const()
1659 if (!cc || !zend_verify_ct_const_access(cc, CG(active_class_entry))) { in zend_try_ct_eval_class_const()
4410 CG(active_class_entry) && zend_is_scope_known()) { in zend_compile_method_call()
4412 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call()
4434 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_PUBLIC) || ce == CG(active_class_entry)) { in zend_get_compatible_func_or_null()
4440 && (!CG(active_class_entry) || (CG(active_class_entry)->ce_flags & ZEND_ACC_LINKED)) in zend_get_compatible_func_or_null()
4441 && zend_check_protected(zend_get_function_root_class(fbc), CG(active_class_entry))) { in zend_get_compatible_func_or_null()
4498 if (!ce && CG(active_class_entry) in zend_compile_static_call()
4499 && zend_string_equals_ci(CG(active_class_entry)->name, lcname)) { in zend_compile_static_call()
4500 ce = CG(active_class_entry); in zend_compile_static_call()
4505 ce = CG(active_class_entry); in zend_compile_static_call()
6033 if (ast->attr == IS_STATIC && !CG(active_class_entry) && zend_is_scope_known()) { in zend_compile_single_typename()
6331 config->validator(attr, target, CG(active_class_entry)); in zend_compile_attributes()
6782 zend_class_entry *ce = CG(active_class_entry); in zend_begin_method_decl()
6910 zend_class_entry *orig_class_entry = CG(active_class_entry); in zend_compile_func_decl()
6969 CG(active_class_entry) = NULL; in zend_compile_func_decl()
7003 CG(active_class_entry), (zend_function *) op_array, method_lcname, E_COMPILE_ERROR); in zend_compile_func_decl()
7020 CG(active_class_entry) = orig_class_entry; in zend_compile_func_decl()
7027 zend_class_entry *ce = CG(active_class_entry); in zend_compile_prop_decl()
7137 zend_class_entry *ce = CG(active_class_entry); in zend_compile_class_const_decl()
7210 zend_add_to_list(&CG(active_class_entry)->trait_precedences, precedence); in zend_compile_trait_precedence()
7234 zend_add_to_list(&CG(active_class_entry)->trait_aliases, alias); in zend_compile_trait_alias()
7242 zend_class_entry *ce = CG(active_class_entry); in zend_compile_use_trait()
7284 zend_class_entry *ce = CG(active_class_entry); in zend_compile_implements()
7332 zend_class_entry *original_ce = CG(active_class_entry); in zend_compile_class_decl()
7337 if (CG(active_class_entry)) { in zend_compile_class_decl()
7398 CG(active_class_entry) = ce; in zend_compile_class_decl()
7417 CG(active_class_entry) = original_ce; in zend_compile_class_decl()
7778 zend_class_entry *ce = CG(active_class_entry); in zend_try_ct_eval_magic_const()
9184 CG(active_class_entry) && in zend_compile_magic_const()
9185 (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) != 0); in zend_compile_magic_const()