protocol
hierarchyp
ï
Common hierarchy protocol for prototype and class hierarchies.
Availability:
logtalk_load(hierarchies(loader))
Author: Paulo Moura
Version: 1:0:0
Date: 2000-07-24
Compilation flags:
static
Dependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)
Public predicatesï
ancestor/1
ï
Returns, by backtracking, all object ancestors.
Compilation flags:
static
Template:
ancestor(Ancestor)
Mode and number of proofs:
ancestor(?object)
- zero_or_more
ancestors/1
ï
List of all object ancestors.
Compilation flags:
static
Template:
ancestors(Ancestors)
Mode and number of proofs:
ancestors(-list)
- one
leaf/1
ï
Returns, by backtracking, all object leaves.
Compilation flags:
static
Template:
leaf(Leaf)
Mode and number of proofs:
leaf(?object)
- zero_or_more
leaves/1
ï
List of all object leaves.
Compilation flags:
static
Template:
leaves(Leaves)
Mode and number of proofs:
leaves(-list)
- one
descendant/1
ï
Returns, by backtracking, all object descendants.
Compilation flags:
static
Template:
descendant(Descendant)
Mode and number of proofs:
descendant(?object)
- zero_or_more
descendants/1
ï
List of all object descendants.
Compilation flags:
static
Template:
descendants(Descendants)
Mode and number of proofs:
descendants(-list)
- one
Protected predicatesï
(none)
Private predicatesï
(none)
Operatorsï
(none)