Program Node
data class ProgramNode(functions: List<FunctionNode>, statements: List<StatementNode>) : ASTNode
Content copied to clipboard
Program node
Root level AST node that represents the program in its entirety
Constructors
ProgramNode
Link copied to clipboard
fun ProgramNode(functions: List<FunctionNode>, statements: List<StatementNode>)
Content copied to clipboard
Create empty Program node
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
copy
Link copied to clipboard
fun copy(functions: List<FunctionNode>, statements: List<StatementNode>): ProgramNode
Content copied to clipboard