This an implementation of the visitor pattern. Pass in an object and it will traverse it using breadth first and call your visitor function once for each node it encounters
The object to crawl
The function that will be called for each node. It will receive three parameters: object - the node that was found, name - the name of the node, path - a dot delimited string that indicates depth and membership, depth - indicates how many nodes have been visited level - a integer indicating depth in the object tree,
Intended to be used when called recursively. It is a dot delimited string that indicates depth and membership
Intended to be used when called recursively.
Intended to be used when called recursively.
Generated using TypeDoc
This an implementation of the visitor pattern
crawl