ReduceNode

class ReduceNode(val operator: OperatorNode, val defaultValue: PureExpressionNode, val indices: Arguments<IndexParameterNode>, val body: PureExpressionNode, val sourceLocation: SourceLocation) : PureExpressionNode

Parameters

defaultValue

to be used when the list is empty

operator

must be associative

Constructors

Link copied to clipboard
fun ReduceNode(operator: OperatorNode, defaultValue: PureExpressionNode, indices: Arguments<IndexParameterNode>, body: PureExpressionNode, sourceLocation: SourceLocation)

Functions

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

Properties

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