leafref

package
v0.0.0-...-17f8324 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: BSD-3-Clause, MPL-2.0 Imports: 5 Imported by: 1

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