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

Function iterateNavs

xpath_test.go:289–296  ·  view source on GitHub ↗
(t *NodeIterator)

Source from the content-addressed store, hash-verified

287}
288
289func iterateNavs(t *NodeIterator) []*TNodeNavigator {
290 var nodes []*TNodeNavigator
291 for t.MoveNext() {
292 node := t.Current().(*TNodeNavigator)
293 nodes = append(nodes, node)
294 }
295 return nodes
296}
297
298func iterateNodes(t *NodeIterator) []*TNode {
299 var nodes []*TNode

Callers 1

test_xpath_evalFunction · 0.85

Calls 2

MoveNextMethod · 0.80
CurrentMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…