(rego ast.Ref)
| 24 | } |
| 25 | |
| 26 | func (vc *VariableConverter) ConvertVariable(rego ast.Ref) (Node, bool) { |
| 27 | for _, c := range vc.converters { |
| 28 | if n, ok := c.ConvertVariable(rego); ok { |
| 29 | return n, true |
| 30 | } |
| 31 | } |
| 32 | return nil, false |
| 33 | } |
| 34 | |
| 35 | // RegoVarPath will consume the following terms from the given rego Ref and |
| 36 | // return the remaining terms. If the path does not fully match, an error is |
nothing calls this directly
no test coverage detected