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

Struct descendantQuery

query.go:426–435  ·  view source on GitHub ↗

descendantQuery is an XPath descendant node query.(descendant::* | descendant-or-self::*)

Source from the content-addressed store, hash-verified

424
425// descendantQuery is an XPath descendant node query.(descendant::* | descendant-or-self::*)
426type descendantQuery struct {
427 name string
428 iterator func() NodeNavigator
429 posit int
430 level int
431
432 Self bool
433 Input query
434 Predicate func(NodeNavigator) bool
435}
436
437func (d *descendantQuery) Select(t iterator) NodeNavigator {
438 for {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected