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

Method parseType

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

Source from the content-addressed store, hash-verified

8)
9
10func (p *Parser) parseType() (ast.Type, error) {
11 typ, err := p.matchType()
12 if typ == nil && err == nil {
13 err = p.error("couldn't parse type")
14 }
15 return typ, err
16}
17
18func (p *Parser) matchType() (ast.Type, error) {
19 typ, err := p.matchTypeComponent()

Callers 7

ParseTypeFunction · 0.95
matchTypeNameMethod · 0.95
matchTypeFieldMethod · 0.95
matchTypeArrayMethod · 0.95
matchTypeSetOrMapMethod · 0.95
parseTypeMapMethod · 0.95
matchTypeValueMethod · 0.95

Calls 2

matchTypeMethod · 0.95
errorMethod · 0.95

Tested by

no test coverage detected