37.8.2 Inlined Methods

The following methods are compiled inline i.e. calls are replaced by definitions. This implies (in the current implementation) that they have a fixed semantics and can not be redefined. There are also definitions for these methods in object covering the cases of unexpanded calls.

self(?Self)
Unifies Self with “self”.


get(+Attribute)
Gets the attribute value(s) of the attribute specified by the principal functor of Attribute. The value(s) are unified with the argument(s) of Attribute.


set(+Attribute)
Sets the attribute value(s) of the attribute specified by the principal functor of Attribute. The value(s) are taken from the argument(s) of Attribute.