MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / init

Function init

pkg/util/jsonpath/parser/parse.go:16–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14)
15
16func init() {
17 tree.ValidateJSONPath = func(jsonpath string) (*jsonpath.Jsonpath, error) {
18 jp, err := Parse(jsonpath)
19 if err != nil {
20 return nil, err
21 }
22 return jp.AST, nil
23 }
24}
25
26var (
27 ReCache = tree.NewRegexpCache(64)

Callers

nothing calls this directly

Calls 1

ParseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…