A constant attribute of a node type T
with value of type U
.
As for the other constant
with the first argument specifying a name for
the constructed attribute.
Define a constant attribute of T
nodes of type U
given by the value
u
.
Define a constant attribute of T
nodes of type U
given by the value
u
. u
is evaluated at most once.
Initialise the Attributable
tree rooted at t
so that it is ready for
attribution.
Initialise the Attributable
tree rooted at t
so that it is ready for
attribution. At present, the only initialisation performed is to set node
attributes such as parent and children so that nodes can generically refer
to their neighbours. If you wish to use any of these properties, you must
call this method before doing so. Otherwise, the node properties should
not be used and there is no need to call this method.
Common support for attribution of syntax trees in a functional style. Includes circular and constant attributes but needs to be augmented with basic attributes and parameterised attributes.