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

Function NewParser

sup/parser.go:12–14  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

10}
11
12func NewParser(r io.Reader) *Parser {
13 return &Parser{NewLexer(r)}
14}
15
16func (p *Parser) errorf(msg string, args ...any) error {
17 return p.error(fmt.Sprintf(msg, args...))

Callers 5

parseFunction · 0.92
ReadMethod · 0.92
ParseTypeFunction · 0.70
ParseValueFunction · 0.70
UnmarshalMethod · 0.70

Calls 1

NewLexerFunction · 0.85

Tested by 1

parseFunction · 0.74