Lines Matching refs:ast
541 zend_ast *ast = (zend_ast *) p; p += zend_ast_size(3); in create_enum_case_ast() local
542 ast->kind = ZEND_AST_CONST_ENUM_INIT; in create_enum_case_ast()
543 ast->attr = 0; in create_enum_case_ast()
544 ast->lineno = 0; in create_enum_case_ast()
546 ast->child[0] = (zend_ast *) p; p += sizeof(zend_ast_zval); in create_enum_case_ast()
547 ast->child[0]->kind = ZEND_AST_ZVAL; in create_enum_case_ast()
548 ast->child[0]->attr = 0; in create_enum_case_ast()
550 ZVAL_STR(zend_ast_get_zval(ast->child[0]), class_name); in create_enum_case_ast()
551 Z_LINENO_P(zend_ast_get_zval(ast->child[0])) = 0; in create_enum_case_ast()
553 ast->child[1] = (zend_ast *) p; p += sizeof(zend_ast_zval); in create_enum_case_ast()
554 ast->child[1]->kind = ZEND_AST_ZVAL; in create_enum_case_ast()
555 ast->child[1]->attr = 0; in create_enum_case_ast()
557 ZVAL_STR(zend_ast_get_zval(ast->child[1]), case_name); in create_enum_case_ast()
558 Z_LINENO_P(zend_ast_get_zval(ast->child[1])) = 0; in create_enum_case_ast()
561 ast->child[2] = (zend_ast *) p; p += sizeof(zend_ast_zval); in create_enum_case_ast()
562 ast->child[2]->kind = ZEND_AST_ZVAL; in create_enum_case_ast()
563 ast->child[2]->attr = 0; in create_enum_case_ast()
565 ZVAL_COPY_VALUE(zend_ast_get_zval(ast->child[2]), value); in create_enum_case_ast()
566 Z_LINENO_P(zend_ast_get_zval(ast->child[2])) = 0; in create_enum_case_ast()
568 ast->child[2] = NULL; in create_enum_case_ast()