MCPcopy
hub / github.com/BishopFox/jsluice / NextSibling

Method NextSibling

tree.go:137–142  ·  view source on GitHub ↗

NextSibling returns the next sibling in the tree

()

Source from the content-addressed store, hash-verified

135
136// NextSibling returns the next sibling in the tree
137func (n *Node) NextSibling() *Node {
138 if !n.IsValid() {
139 return nil
140 }
141 return NewNode(n.node.NextSibling(), n.source)
142}
143
144// NextNamedSibling returns the next named sibling in the tree
145func (n *Node) NextNamedSibling() *Node {

Callers

nothing calls this directly

Calls 2

IsValidMethod · 0.95
NewNodeFunction · 0.85

Tested by

no test coverage detected