Address

Represents an Entity's position within a program tree.

Members

Functions

child
Address* child(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

children
Address*[] children;

Used to keep a global cached tree of addresses.

depth
size_t depth;

Distance from the root address

index
size_t index;

Index within the parent's children array

parent
Address* parent;

Upper node's Address. If null, then this is the root node (and index should be 0).

Meta