Node
abstract class Node : TreeNode<Node> , HasSourceLocation, PrettyPrintable
Content copied to clipboard
A node in the intermediate language abstract syntax tree.
The intermediate language is similar to the surface language, but with the following changes:
Constructors
Functions
toDocument
Link copied to clipboard
toDocumentWithMetadata
Link copied to clipboard
toSurfaceNode
Link copied to clipboard
Returns a representation of this node in the surface syntax.
Properties
Inheritors
ExpressionNode
Link copied to clipboard
ProgramNode
Link copied to clipboard
StatementNode
Link copied to clipboard
OutParameterInitializerNode
Link copied to clipboard
FunctionArgumentNode
Link copied to clipboard
TopLevelDeclarationNode
Link copied to clipboard
ParameterNode
Link copied to clipboard
Extensions
descendants
Link copied to clipboard
Returns this node and all its descendants in post order.
descendantsIsInstance
Link copied to clipboard
freshVariableNameGenerator
Link copied to clipboard
A FreshNameGenerator that will avoid all Variable names in this node.