protocol
Common hierarchy protocol for prototype and class hierarchies.
Paulo Moura
1.0
2000/7/24
static
(no dependencies on other files)
Returns, by backtracking, all object ancestors.
static
ancestor(Ancestor)
ancestor(?object) – zero_or_more
List of all object ancestors.
static
ancestors(Ancestors)
ancestors(-list) – one
Returns, by backtracking, all object leaves.
static
leaf(Leaf)
leaf(?object) – zero_or_more
List of all object leaves.
static
leaves(Leaves)
leaves(-list) – one
Returns, by backtracking, all object descendants.
static
descendant(Descendant)
descendant(?object) – zero_or_more
List of all object descendants.
static
descendants(Descendants)
descendants(-list) – one
(none)
(none)