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

Struct followingQuery

query.go:518–525  ·  view source on GitHub ↗

followingQuery is an XPath following node query.(following::*|following-sibling::*)

Source from the content-addressed store, hash-verified

516
517// followingQuery is an XPath following node query.(following::*|following-sibling::*)
518type followingQuery struct {
519 posit int
520 iterator func() NodeNavigator
521
522 Input query
523 Sibling bool // The matching sibling node of current node.
524 Predicate func(NodeNavigator) bool
525}
526
527func (f *followingQuery) Select(t iterator) NodeNavigator {
528 for {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected