BoundVariable class

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 has been optimized out by the compiler, the value will be the OptimizedOut Sentinel.

Inheritance

Constructors

BoundVariable({String? name, dynamic value, int? declarationTokenPos, int? scopeStartTokenPos, int? scopeEndTokenPos})

Properties

declarationTokenPos int?
The token position where this variable was declared.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>?
getter/setter pairinherited
name String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopeEndTokenPos int?
The last token position where this variable is visible to the scope.
getter/setter pair
scopeStartTokenPos int?
The first token position where this variable is visible to the scope.
getter/setter pair
type String
no setteroverride
value ↔ dynamic
value can be one of InstanceRef, TypeArgumentsRef or Sentinel.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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