MCPcopy Create free account
hub / github.com/antchfx/xpath / precedingQuery

Struct precedingQuery

query.go:608–614  ·  view source on GitHub ↗

precedingQuery is an XPath preceding node query.(preceding::*)

Source from the content-addressed store, hash-verified

606
607// precedingQuery is an XPath preceding node query.(preceding::*)
608type precedingQuery struct {
609 iterator func() NodeNavigator
610 posit int
611 Input query
612 Sibling bool // The matching sibling node of current node.
613 Predicate func(NodeNavigator) bool
614}
615
616func (p *precedingQuery) Select(t iterator) NodeNavigator {
617 for {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected