ASTRuntimeVariable<T> class

ASTVariable for a runtime value.

Used to represent a resolved variable at runtime.

Inheritance
Available Extensions

Constructors

ASTRuntimeVariable(ASTType<T> type, String name, [ASTValue? value])

Properties

children Iterable<ASTNode>
The children nodes of this node.
no setteroverride
descendantChildren List<ASTNode>
Return the children and it's descendant children (unmodifiable).
no setterinherited
finalValue bool
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isTypeIdentifier bool
no setterinherited
name String
finalinherited
parentNode ASTNode?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ASTType<T>
getter/setter pairinherited
typeIdentifier ASTType?
no setterinherited

Methods

associateToType(ASTTypedNode node) → void
inherited
cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
inherited
getNodeIdentifier(String name, {ASTNode? requester}) ASTNode?
inherited
getValue(VMContext context) ASTValue
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readIndex<V>(VMContext context, int index) FutureOr<V>
inherited
readKey<V>(VMContext context, Object key) FutureOr<V>
inherited
resolveNode(ASTNode? parentNode) → void
override
resolveType(VMContext? context) ASTType
override
resolveVariable(VMContext context) ASTVariable
override
setValue(VMContext context, ASTValue value) → void
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited