()
| 2638 | } |
| 2639 | |
| 2640 | func (p *Parser) parseIntersectionTypeOrHigher() *ast.TypeNode { |
| 2641 | return p.parseUnionOrIntersectionType(ast.KindAmpersandToken, (*Parser).parseTypeOperatorOrHigher) |
| 2642 | } |
| 2643 | |
| 2644 | func (p *Parser) parseUnionOrIntersectionType(operator ast.Kind, parseConstituentType func(p *Parser) *ast.TypeNode) *ast.TypeNode { |
| 2645 | pos := p.nodePos() |
nothing calls this directly
no test coverage detected