ReadNode

class ReadNode(temporary: TemporaryNode) : AtomicExpressionNode

Reading the value stored in a temporary.

Constructors

ReadNode
Link copied to clipboard
fun ReadNode(temporary: TemporaryNode)

Functions

copy
Link copied to clipboard
open override fun copy(children: List<Node>): ReadNode

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
open override fun toSurfaceNode(): ReadNode

override fun toSurfaceNode(metadata: Metadata): ExpressionNode

Returns a representation of this node in the surface syntax.

Properties

children
Link copied to clipboard
override val children: Iterable<Nothing>
sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation
temporary
Link copied to clipboard
val temporary: TemporaryNode