treeSkeleton objects allow you to traverse a reference class object as if it had a tree structure, merely by knowing how to call parent or child nodes.
treeSkeleton__initialize(object, parent_caller = "parent", children_caller = "children")
object | ANY. If a reference class object, then |
---|---|
parent_caller | character. The name of the reference class method that returns the parent object, if the object was a node in a tree structure. |
children_caller | character. The name of the reference class method that returns the child objects, if the object was a node in a tree structure. |
a treeSkeleton object.