PyInstance class
Represents an instance of a PyClass at runtime.
Constructors
- PyInstance(PyClass klass)
Properties
Methods
-
get(
Token name) → Object? - Gets an attribute or method from the instance.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
Token name, Object? value) → void - Sets an attribute on the instance.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited