path_eval

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: 4 Imported by: 1

Documentation

Index

Constants

View Source
const EOF = 0

Variables

This section is empty.

Functions

func NewPathEvalLex

func NewPathEvalLex(
	expr string,
	progBldr *xpath.ProgBuilder,
	mapFn xpath.PfxMapFn,
) *pathEvalLex

func NewPathEvalMachine

func NewPathEvalMachine(
	expr string,
	mapFn xpath.PfxMapFn,
	location string,
) (*xpath.Machine, error)

Create a machine that can run the full XPATH grammar for 'when' and 'must' statements. 'pathEval' matches the name given to this full grammar (as in Expr / ExprToken in the XPATH RFC)

func NewPathEvalMachineWithCustomFns

func NewPathEvalMachineWithCustomFns(
	expr string,
	mapFn xpath.PfxMapFn,
	location string,
	userFnChecker xpath.UserCustomFunctionCheckerFn,
) (*xpath.Machine, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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