BoundVariable class Null safety
A BoundVariable
represents a local variable bound to a particular value in
a Frame
.
If the variable is uninitialized, the value
will be the NotInitialized
Sentinel.
If the variable is being initialized, the value
will be the
BeingInitialized
Sentinel.
If the variable has been optimized out by the compiler, the value
will be
the OptimizedOut
Sentinel.
Constructors
- BoundVariable({String? name, dynamic value, int? declarationTokenPos, int? scopeStartTokenPos, int? scopeEndTokenPos})
Properties
- declarationTokenPos ↔ int?
-
The token position where this variable was declared.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
json
↔ Map<
String, dynamic> ? -
read / writeinherited
- name ↔ String?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- scopeEndTokenPos ↔ int?
-
The last token position where this variable is visible to the scope.
read / write
- scopeStartTokenPos ↔ int?
-
The first token position where this variable is visible to the scope.
read / write
- type → String
-
read-onlyoverride
- value ↔ dynamic
-
value can be one of InstanceRef, TypeArgumentsRef or Sentinel.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parse(
Map< String, dynamic> ? json) → BoundVariable? -
override