SimpleStatementNode

sealed class SimpleStatementNode : StatementNode

A statement that is not a combination of other statements, and that does not affect control flow.

Functions

copy
Link copied to clipboard
abstract override fun copy(children: List<Node>): SimpleStatementNode

Returns a shallow copy of this node where the child nodes are replaced by children.

toDocument
Link copied to clipboard
override fun toDocument(): Document
toDocumentWithMetadata
Link copied to clipboard
fun toDocumentWithMetadata(metadata: Metadata): Document

Returns a pretty representation of this Node where each descendant is decorated using metadata.

toSurfaceNode
Link copied to clipboard
abstract override fun toSurfaceNode(metadata: Metadata): SimpleStatementNode

Returns a representation of this node in the surface syntax.

Properties

children
Link copied to clipboard
abstract override val children: Iterable<Node>
sourceLocation
Link copied to clipboard
abstract val sourceLocation: SourceLocation

Inheritors

LetNode
Link copied to clipboard
DeclarationNode
Link copied to clipboard
UpdateNode
Link copied to clipboard
OutParameterInitializationNode
Link copied to clipboard
OutputNode
Link copied to clipboard