Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antchfx/xpath
/ Select
Method
Select
query.go:89–95 ·
view source on GitHub ↗
(t iterator)
Source
from the content-addressed store, hash-verified
87
}
88
89
func
(c *contextQuery) Select(t iterator) NodeNavigator {
90
if
c.count > 0 {
91
return
nil
92
}
93
c.count++
94
return
t.Current().Copy()
95
}
96
97
func
(c *contextQuery) Evaluate(iterator)
interface
{} {
98
c.count = 0
Callers
nothing calls this directly
Calls
2
Copy
Method · 0.65
Current
Method · 0.65
Tested by
no test coverage detected