package ref
import "github.com/open-policy-agent/opa/internal/ref"
Package ref implements internal helpers for references
Index ¶
Functions ¶
func ArrayPath ¶
ArrayPath will take an ast.Array and build an ast.Ref using the ast.Terms in the Array
func ParseDataPath ¶
ParseDataPath returns a ref from the slash separated path s rooted at data. All path segments are treated as identifier strings.
Source Files ¶
- Version
- v0.40.0
- Published
- Apr 28, 2022
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 8 seconds ago –
Tools for package owners.