(c context.Context)
| 30 | } |
| 31 | |
| 32 | func (p *parser) parse(c context.Context) (r gval.Evaluable, err error) { |
| 33 | err = p.parsePath(c) |
| 34 | |
| 35 | if err != nil { |
| 36 | return nil, err |
| 37 | } |
| 38 | return p.path.evaluate, nil |
| 39 | } |
| 40 | |
| 41 | func (p *parser) parsePath(c context.Context) error { |
| 42 | switch p.Scan() { |
no test coverage detected