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

Function parse

book/super-example/main.go:100–105  ·  view source on GitHub ↗
(program string)

Source from the content-addressed store, hash-verified

98}
99
100func parse(program string) (interface{}, error) {
101 ast, err := parser.ParseText(program)
102 result := ParseResult{AST: ast, Error: err}
103
104 return result, nil
105}
106
107type ParseResult struct {
108 AST interface{} `wasm:"ast"`

Callers

nothing calls this directly

Calls 1

ParseTextFunction · 0.92

Tested by

no test coverage detected