MCPcopy Create free account
hub / github.com/PaesslerAG/jsonpath / parseCurrentPath

Function parseCurrentPath

parse.go:22–26  ·  view source on GitHub ↗
(ctx context.Context, gParser *gval.Parser)

Source from the content-addressed store, hash-verified

20}
21
22func parseCurrentPath(ctx context.Context, gParser *gval.Parser) (r gval.Evaluable, err error) {
23 p := newParser(gParser)
24 p.appendPlainSelector(currentElementSelector())
25 return p.parse(ctx)
26}
27
28func newParser(p *gval.Parser) *parser {
29 return &parser{Parser: p, path: plainPath{}}

Callers

nothing calls this directly

Calls 4

newParserFunction · 0.85
currentElementSelectorFunction · 0.85
appendPlainSelectorMethod · 0.80
parseMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…