Help us shape the future of Go! Take the 2026 Go Developer Survey

leafref

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EOF = 0

Variables

This section is empty.

Functions

func NewLeafrefLex

func NewLeafrefLex(
	leafref string,
	progBldr *xpath.ProgBuilder,
	mapFn xpath.PfxMapFn,
) *leafrefLex

func NewLeafrefMachine

func NewLeafrefMachine(
	leafref string,
	mapFn xpath.PfxMapFn,
) (*xpath.Machine, error)

Create a machine that can run the full XLEAFREF grammar for 'when' and 'must' statements. 'leafref' matches the name given to this full grammar (as in Leafref / LeafrefToken in the XLEAFREF RFC)

Types

This section is empty.

Jump to

Keyboard shortcuts

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