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

Method MoveToRoot

xpath.go:49–49  ·  view source on GitHub ↗

MoveToRoot moves the NodeNavigator to the root node of the current node.

()

Source from the content-addressed store, hash-verified

47
48 // MoveToRoot moves the NodeNavigator to the root node of the current node.
49 MoveToRoot()
50
51 // MoveToParent moves the NodeNavigator to the parent node of the current node.
52 MoveToParent() bool

Callers 2

SelectMethod · 0.65
Benchmark_GetHashCodeFunction · 0.65

Implementers 2

NodeNavigatordoc_test.go
TNodeNavigatorxpath_test.go

Calls

no outgoing calls

Tested by 1

Benchmark_GetHashCodeFunction · 0.52