ForAction

data class ForAction(val identifier: String, val iterable: Value, val actions: List<Action>) : Action

Action that executes a list of actions for a given set or interval.

Parameters

identifier

Identifier of the current iterated value

iterable

Iterable to iterate during the loop

actions

Actions to execute while condition is true

Constructors

Link copied to clipboard
constructor(identifier: String, iterable: Value, actions: List<Action>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val algorithmString: String

String representation of the action

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun execute(context: Context): Context

Execute the action in the given context