Class class final
A Lox class.
- Implemented types
Constructors
Properties
- arity → int
-
The arity of the callable.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the class.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- superclass → Class?
-
The superclass of the class.
final
Methods
-
call(
Interpreter interpreter, List< Object?> arguments) → Object? -
The method to be executed when the callable is called.
override
-
findMethod(
String name) → Routine? -
Returns the method with the given
name
of this class. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited