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

Method Copy

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

Copy does a deep copy of the NodeNavigator and all its components.

()

Source from the content-addressed store, hash-verified

44
45 // Copy does a deep copy of the NodeNavigator and all its components.
46 Copy() NodeNavigator
47
48 // MoveToRoot moves the NodeNavigator to the root node of the current node.
49 MoveToRoot()

Callers 15

Benchmark_GetHashCodeFunction · 0.95
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65
SelectMethod · 0.65

Implementers 2

NodeNavigatordoc_test.go
TNodeNavigatorxpath_test.go

Calls

no outgoing calls

Tested by 1

Benchmark_GetHashCodeFunction · 0.76