MCPcopy
hub / github.com/russross/blackfriday / NodeVisitor

FuncType NodeVisitor

node.go:283–283  ·  view source on GitHub ↗

NodeVisitor is a callback to be called when traversing the syntax tree. Called twice for every node: once with entering=true when the branch is first visited, then with entering=false after all the children are done.

func(node *Node, entering bool) WalkStatus

Source from the content-addressed store, hash-verified

281// Called twice for every node: once with entering=true when the branch is
282// first visited, then with entering=false after all the children are done.
283type NodeVisitor func(node *Node, entering bool) WalkStatus
284
285// Walk is a convenience method that instantiates a walker and starts a
286// traversal of subtree rooted at n.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…