Home
last modified time | relevance | path

Searched refs:intersection_type (Results 1 – 2 of 2) sorted by relevance

/php-src/Zend/
H A Dzend_language_parser.y280 %type <ast> inline_function union_type_element union_type intersection_type
831 | intersection_type { $$ = $1; }
841 | '(' intersection_type ')' { $$ = $2; }
851 intersection_type:
853 …| intersection_type T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG type { $$ = zend_ast_list_add($1, $3…
H A Dzend_compile.c7066 static void zend_is_intersection_type_redundant_by_single_type(zend_type intersection_type, zend_ty… in zend_is_intersection_type_redundant_by_single_type() argument
7068 ZEND_ASSERT(ZEND_TYPE_IS_INTERSECTION(intersection_type)); in zend_is_intersection_type_redundant_by_single_type()
7072 ZEND_TYPE_FOREACH(intersection_type, single_intersection_type) in zend_is_intersection_type_redundant_by_single_type()
7075 zend_string *complete_type = zend_type_to_string(intersection_type); in zend_is_intersection_type_redundant_by_single_type()
7272 zend_type intersection_type = ZEND_TYPE_INIT_NONE(0); in zend_compile_typename_ex() local
7273 ZEND_TYPE_SET_LIST(intersection_type, type_list); in zend_compile_typename_ex()
7274 ZEND_TYPE_FULL_MASK(intersection_type) |= _ZEND_TYPE_INTERSECTION_BIT; in zend_compile_typename_ex()
7275 ZEND_TYPE_FULL_MASK(intersection_type) |= _ZEND_TYPE_ARENA_BIT; in zend_compile_typename_ex()
7279 dnf_type_list->types[0] = intersection_type; in zend_compile_typename_ex()

Completed in 40 milliseconds