ProgramNode
Represents a surface level program which is a sequence of top level declarations.
Instances are usually created by parse.
Constructors
ProgramNode
Link copied to clipboard
fun ProgramNode(declarations: List<TopLevelDeclarationNode>, sourceLocation: SourceLocation)
Content copied to clipboard
Functions
contains
Link copied to clipboard
open operator override fun contains(element: TopLevelDeclarationNode): Boolean
Content copied to clipboard
containsAll
Link copied to clipboard
open override fun containsAll(elements: Collection<TopLevelDeclarationNode>): Boolean
Content copied to clipboard
forEach
Link copied to clipboard
get
Link copied to clipboard
indexOf
Link copied to clipboard
iterator
Link copied to clipboard
lastIndexOf
Link copied to clipboard
listIterator
Link copied to clipboard
open override fun listIterator(index: Int): ListIterator<TopLevelDeclarationNode>
Content copied to clipboard
parallelStream
Link copied to clipboard
spliterator
Link copied to clipboard
stream
Link copied to clipboard
toDocument
Link copied to clipboard
Properties
Extensions
elaborated
Link copied to clipboard
Elaborates this surface program into a program in the intermediate representation.