Home
last modified time | relevance | path

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

/php-src/Zend/
H A Dzend_ast.c856 zend_ast *case_value_ast = ast->child[2]; in zend_ast_evaluate_inner() local
860 if (case_value_ast != NULL) { in zend_ast_evaluate_inner()
861 …if (UNEXPECTED(zend_ast_evaluate_ex(&case_value_zv, case_value_ast, scope, &short_circuited, ctx) … in zend_ast_evaluate_inner()
867 zend_enum_new(result, ce, case_name, case_value_ast != NULL ? &case_value_zv : NULL); in zend_ast_evaluate_inner()
H A Dzend_compile.c9225 zend_ast *case_value_ast = ast->child[1]; in zend_compile_enum_case() local
9228 if (enum_class->enum_backing_type != IS_UNDEF && case_value_ast == NULL) { in zend_compile_enum_case()
9232 } else if (enum_class->enum_backing_type == IS_UNDEF && case_value_ast != NULL) { in zend_compile_enum_case()
9238 …nit_ast = zend_ast_create(ZEND_AST_CONST_ENUM_INIT, class_name_ast, case_name_ast, case_value_ast); in zend_compile_enum_case()

Completed in 39 milliseconds