LetNode

class LetNode(temporary: TemporaryNode, value: ExpressionNode, protocol: ProtocolNode?, sourceLocation: SourceLocation, comment: String?) : SimpleStatementNode

Binding the result of an expression to a new temporary variable.

Constructors

LetNode
Link copied to clipboard
fun LetNode(temporary: TemporaryNode, value: ExpressionNode, protocol: ProtocolNode?, sourceLocation: SourceLocation, comment: String? = null)

Functions

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

Properties

comment
Link copied to clipboard
open override val comment: String? = null
protocol
Link copied to clipboard
val protocol: ProtocolNode?
sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation
temporary
Link copied to clipboard
val temporary: TemporaryNode
value
Link copied to clipboard
val value: ExpressionNode