Lines Matching refs:active_class_entry
375 CG(active_class_entry) = NULL; in zend_init_compiler_data_structures()
1513 if (!CG(active_class_entry)) { in zend_is_scope_known()
1520 return (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) == 0; in zend_is_scope_known()
1526 if (!CG(active_class_entry)) { in class_name_refers_to_active_ce()
1533 && zend_string_equals_ci(class_name, CG(active_class_entry)->name); in class_name_refers_to_active_ce()
1576 zend_class_entry *ce = CG(active_class_entry); in zend_ensure_valid_class_fetch_type()
1609 if (CG(active_class_entry) && zend_is_scope_known()) { in zend_try_compile_const_expr_resolve_class_name()
1610 ZVAL_STR_COPY(zv, CG(active_class_entry)->name); in zend_try_compile_const_expr_resolve_class_name()
1615 if (CG(active_class_entry) && CG(active_class_entry)->parent_name in zend_try_compile_const_expr_resolve_class_name()
1617 ZVAL_STR_COPY(zv, CG(active_class_entry)->parent_name); in zend_try_compile_const_expr_resolve_class_name()
1673 cc = zend_hash_find_ptr(&CG(active_class_entry)->constants_table, name); in zend_try_ct_eval_class_const()
1689 if (!cc || !zend_verify_ct_const_access(cc, CG(active_class_entry))) { in zend_try_ct_eval_class_const()
4640 CG(active_class_entry) && zend_is_scope_known()) { in zend_compile_method_call()
4642 fbc = zend_hash_find_ptr(&CG(active_class_entry)->function_table, lcname); in zend_compile_method_call()
4669 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_PUBLIC) || ce == CG(active_class_entry)) { in zend_get_compatible_func_or_null()
4675 && (!CG(active_class_entry) || (CG(active_class_entry)->ce_flags & ZEND_ACC_LINKED)) in zend_get_compatible_func_or_null()
4676 && zend_check_protected(zend_get_function_root_class(fbc), CG(active_class_entry))) { in zend_get_compatible_func_or_null()
4737 } else if (CG(active_class_entry) in zend_compile_static_call()
4738 && zend_string_equals_ci(CG(active_class_entry)->name, lcname)) { in zend_compile_static_call()
4739 ce = CG(active_class_entry); in zend_compile_static_call()
4744 ce = CG(active_class_entry); in zend_compile_static_call()
6292 if (ast->attr == IS_STATIC && !CG(active_class_entry) && zend_is_scope_known()) { in zend_compile_single_typename()
6784 config->validator(attr, target, CG(active_class_entry)); in zend_compile_attributes()
7280 zend_class_entry *ce = CG(active_class_entry); in zend_begin_method_decl()
7414 zend_class_entry *orig_class_entry = CG(active_class_entry); in zend_compile_func_decl()
7468 CG(active_class_entry) = NULL; in zend_compile_func_decl()
7515 CG(active_class_entry), (zend_function *) op_array, lcname, E_COMPILE_ERROR); in zend_compile_func_decl()
7543 CG(active_class_entry) = orig_class_entry; in zend_compile_func_decl()
7550 zend_class_entry *ce = CG(active_class_entry); in zend_compile_prop_decl()
7687 zend_class_entry *ce = CG(active_class_entry); in zend_compile_class_const_decl()
7762 zend_add_to_list(&CG(active_class_entry)->trait_precedences, precedence); in zend_compile_trait_precedence()
7786 zend_add_to_list(&CG(active_class_entry)->trait_aliases, alias); in zend_compile_trait_alias()
7794 zend_class_entry *ce = CG(active_class_entry); in zend_compile_use_trait()
7836 zend_class_entry *ce = CG(active_class_entry); in zend_compile_implements()
7905 zend_class_entry *original_ce = CG(active_class_entry); in zend_compile_class_decl()
7910 if (CG(active_class_entry)) { in zend_compile_class_decl()
7974 CG(active_class_entry) = ce; in zend_compile_class_decl()
8001 CG(active_class_entry) = original_ce; in zend_compile_class_decl()
8092 zend_class_entry *enum_class = CG(active_class_entry); in zend_compile_enum_case()
8422 zend_class_entry *ce = CG(active_class_entry); in zend_try_ct_eval_magic_const()
9902 CG(active_class_entry) && in zend_compile_magic_const()
9903 (CG(active_class_entry)->ce_flags & ZEND_ACC_TRAIT) != 0); in zend_compile_magic_const()