LetNode

Binding the result of an expression to a variable. Note that scalars are represented as arrays of dimension zero: val x = 5 ===> val x[] = 5

Constructors

Link copied to clipboard
fun LetNode(name: VariableNode, indices: Arguments<IndexParameterNode>, value: ExpressionNode, sourceLocation: SourceLocation)

Functions

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

Properties

Link copied to clipboard
Link copied to clipboard
open override val name: VariableNode

The variable declared by this node.

Link copied to clipboard
open override val sourceLocation: SourceLocation
Link copied to clipboard