Versions in this module Expand all Collapse all v1 v1.2.6 Dec 15, 2023 Changes in this version + var RegexpCache = defaultRegexpCache() + func NewLoadingCache(load loadFunc, capacity int) *loadingCache + func RegisterCustomFunc(name string, f func(args Args) interface{}) + type Args interface + Get func(index int) interface{} + type Expr struct + func Compile(expr string) (*Expr, error) + func CompileWithNS(expr string, namespaces map[string]string) (*Expr, error) + func MustCompile(expr string) *Expr + func (expr *Expr) Evaluate(root NodeNavigator) interface{} + func (expr *Expr) Select(root NodeNavigator) *NodeIterator + func (expr *Expr) String() string + type NodeIterator struct + func Select(root NodeNavigator, expr string) *NodeIterator + func (t *NodeIterator) Current() NodeNavigator + func (t *NodeIterator) MoveNext() bool + type NodeNavigator interface + Copy func() NodeNavigator + LocalName func() string + MoveTo func(NodeNavigator) bool + MoveToChild func() bool + MoveToFirst func() bool + MoveToNext func() bool + MoveToNextAttribute func() bool + MoveToParent func() bool + MoveToPrevious func() bool + MoveToRoot func() + NodeType func() NodeType + Prefix func() string + Value func() string + type NodeType int + const AttributeNode + const CommentNode + const ElementNode + const RootNode + const TextNode