Environment class
Constructors
- Environment(Environment? enclosing)
Properties
- enclosing → Environment?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
values
→ Map<
String, Object?> -
final
Methods
-
ancestor(
int distance) → Environment -
assign(
Token name, Object? value) → void -
assignAt(
int distance, Token name, Object? value) → void -
define(
String name, Object? value) → void -
get(
Token name) → Object? -
getAt(
int distance, String name) → Object? -
length(
) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited