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

Method Select

query.go:951–958  ·  view source on GitHub ↗
(t iterator)

Source from the content-addressed store, hash-verified

949}
950
951func (g *groupQuery) Select(t iterator) NodeNavigator {
952 node := g.Input.Select(t)
953 if node == nil {
954 return nil
955 }
956 g.posit++
957 return node
958}
959
960func (g *groupQuery) Evaluate(t iterator) interface{} {
961 return g.Input.Evaluate(t)

Callers

nothing calls this directly

Calls 1

SelectMethod · 0.65

Tested by

no test coverage detected