treeSkeleton__initialize: Initialize a treeSkeleton object.

Description Usage Arguments Value

Description

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.

Usage

1
2
treeSkeleton__initialize(object, parent_caller = "parent",
  children_caller = "children")

Arguments

object

ANY. If a reference class object, then parent_caller and children_caller will refer to reference class methods. If an attribute on the object with names of children_caller and parent_caller exists, those will be used. Otherwise, the generic methods will be used.

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.

Value

a treeSkeleton object.


syberia/stagerunner documentation built on May 30, 2019, 10:41 p.m.