LoxClass class
- Implemented types
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
methods
→ Map<
String, LoxFunction> -
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- superclass → LoxClass?
-
final
Methods
-
arity(
) → int -
override
-
call(
Interpreter interpreter, List< Object?> arguments, Map<Symbol, Object?> namedArguments) → Object? -
override
-
findMethod(
String name) → LoxFunction? -
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