path_eval

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: BSD-3-Clause, MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AND = 57357
View Source
const AXISNAME = 57353
View Source
const DBLCOLON = 57349
View Source
const DBLSLASH = 57348
View Source
const DIV = 57364
View Source
const DOTDOT = 57347
View Source
const EOF = 0
View Source
const EQ = 57359
View Source
const ERR = 57350
View Source
const FUNC = 57351
View Source
const GE = 57361
View Source
const GT = 57360
View Source
const LE = 57363
View Source
const LITERAL = 57354
View Source
const LT = 57362
View Source
const MOD = 57365
View Source
const NAMETEST = 57355
View Source
const NE = 57358
View Source
const NODETYPE = 57352
View Source
const NUM = 57346
View Source
const OR = 57356
View Source
const UNARYMINUS = 57366

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