ASTVariable class abstract

Base class for variable reference.

Implemented types
Mixed-in types
Implementers

Constructors

ASTVariable(String name)

Properties

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

Methods

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

Operators

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