ASTNode class abstract mixin

An AST (Abstract Syntax Tree) Node.

Implementers

Constructors

ASTNode()

Properties

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

Methods

cacheDescendantChildren() → void
Mark that this node can cache its descendantChildren.
getNodeIdentifier(String name, {ASTNode? requester}) → ASTNode?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveNode(ASTNode? parentNode) → void
toString() → String
A string representation of this object.
inherited

Operators

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