ASTExpression class abstract

Base for AST expressions.

Implemented types
Mixed in types
Implementers
Available Extensions

Constructors

ASTExpression()

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
isLiteral bool
no setter
isLiteralDouble bool
no setter
isLiteralInt bool
no setter
isLiteralNum bool
no setter
isLiteralString bool
no setter
isVariableAccess bool
no setter
literalNumType ASTNumType
no setter
parentNode ASTNode?
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

associateToType(ASTTypedNode node) → void
override
cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
inherited
defineRunContext(VMContext parentContext) VMContext
override
getNodeIdentifier(String name, {ASTNode? requester}) ASTNode?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveNode(ASTNode? parentNode) → void
override
resolveType(VMContext? context) FutureOr<ASTType>
inherited
run(VMContext parentContext, ASTRunStatus runStatus) FutureOr<ASTValue>
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

typeFromExpressions(Iterable<ASTExpression> expressions, {VMContext? context}) FutureOr<ASTType>