Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
func
NewParser(r io.Reader) *Parser {
13
return
&Parser{NewLexer(r)}
14
}
15
16
func
(p *Parser) errorf(msg string, args ...any) error {
17
return
p.error(fmt.Sprintf(msg, args...))
Callers
5
parse
Function · 0.92
Read
Method · 0.92
ParseType
Function · 0.70
ParseValue
Function · 0.70
Unmarshal
Method · 0.70
Calls
1
NewLexer
Function · 0.85
Tested by
1
parse
Function · 0.74