ref

package
v0.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ref implements internal helpers for references

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayPath

func ArrayPath(a *ast.Array) ast.Ref

ArrayPath will take an ast.Array and build an ast.Ref using the ast.Terms in the Array

func ParseDataPath

func ParseDataPath(s string) (ast.Ref, error)

ParseDataPath returns a ref from the slash separated path s rooted at data. All path segments are treated as identifier strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL