(ctx context.Context, parameter interface{})
| 64 | } |
| 65 | |
| 66 | func (p *ambiguousPath) evaluate(ctx context.Context, parameter interface{}) (interface{}, error) { |
| 67 | matchs := []interface{}{} |
| 68 | p.visitMatchs(ctx, parameter, func(keys []interface{}, match interface{}) { |
| 69 | matchs = append(matchs, match) |
| 70 | }) |
| 71 | return matchs, nil |
| 72 | } |
| 73 | |
| 74 | func (p *ambiguousPath) visitMatchs(ctx context.Context, r interface{}, visit pathMatcher) { |
| 75 | p.parent.visitMatchs(ctx, r, func(keys []interface{}, v interface{}) { |
nothing calls this directly
no test coverage detected