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

Function Parse

compiler/parser/parser.go:24543–24545  ·  view source on GitHub ↗

Parse parses the data from b using filename as information in the error messages.

(filename string, b []byte, opts ...Option)

Source from the content-addressed store, hash-verified

24541// Parse parses the data from b using filename as information in the
24542// error messages.
24543func Parse(filename string, b []byte, opts ...Option) (any, error) {
24544 return newParser(filename, b, opts...).parse(g)
24545}
24546
24547// position records a position in the text.
24548type position struct {

Callers 4

parsePigeonFunction · 0.92
TestInvalidFunction · 0.92
ParseFilesFunction · 0.70
ParseReaderFunction · 0.70

Calls 2

newParserFunction · 0.85
parseMethod · 0.45

Tested by 2

parsePigeonFunction · 0.74
TestInvalidFunction · 0.74