MCPcopy Create free account
hub / github.com/brimdata/super / matchTypeErrorBody

Method matchTypeErrorBody

sup/parser-types.go:400–409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

398}
399
400func (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
411func (p *Parser) matchTypeFusionBody() (*ast.TypeFusion, error) {
412 typ, err := p.matchTypeBody("fusion")

Callers 1

matchTypeNameMethod · 0.95

Calls 1

matchTypeBodyMethod · 0.95

Tested by

no test coverage detected