NAME
Zuzu::Value::Object - runtime value class for class instances
DESCRIPTION
Represents an instantiated object with class reference and slot storage.
INHERITANCE
Inherits from Moo::Object.
ROLES
None.
ATTRIBUTES
class
Type: InstanceOf["Zuzu::Value::Class"].
Class value used for method dispatch and inheritance checks.
slots
Type: HashRef.
Storage for instance members and class constants copied to object.
const
Type: HashRef[Bool].
Per-slot const flags enforcing assignment restrictions.
METHODS
is_truthy
Returns this runtime value's truthiness in ZuzuScript.
run_demolish_hook
Runs and clears the optional lifecycle cleanup callback.
DESTROY
Runs the optional lifecycle cleanup callback before this object is garbage collected.
SEE ALSO
Subclasses: none in this distribution.
COPYRIGHT AND LICENCE
Zuzu::Value::Object is copyright Toby Inkster.
It is free software; you may redistribute it and/or modify it under the terms of either the Artistic License 1.0 or the GNU General Public License version 2.