Node

abstract class Node : HasSourceLocation, PrettyPrintable

A node in the abstract syntax tree of a surface level program.

The topmost level node is ProgramNode.

Constructors

Node
Link copied to clipboard
fun Node()

Functions

toDocument
Link copied to clipboard
override fun toDocument(): Document

Properties

comment
Link copied to clipboard
abstract val comment: String?
sourceLocation
Link copied to clipboard
abstract val sourceLocation: SourceLocation

Inheritors

ExpressionNode
Link copied to clipboard
ProgramNode
Link copied to clipboard
StatementNode
Link copied to clipboard
FunctionArgumentNode
Link copied to clipboard
TopLevelDeclarationNode
Link copied to clipboard
ParameterNode
Link copied to clipboard