()
| 398 | } |
| 399 | |
| 400 | func (p *Parser) matchTypeErrorBody() (*ast.TypeError, error) { |
| 401 | typ, err := p.matchTypeBody("error") |
| 402 | if err != nil { |
| 403 | return nil, err |
| 404 | } |
| 405 | return &ast.TypeError{ |
| 406 | Kind: "TypeError", |
| 407 | Type: typ, |
| 408 | }, nil |
| 409 | } |
| 410 | |
| 411 | func (p *Parser) matchTypeFusionBody() (*ast.TypeFusion, error) { |
| 412 | typ, err := p.matchTypeBody("fusion") |
no test coverage detected