ForLoop

Namespace: Chimayo.Ssis.Ast.ControlFlowApi

API for working with FOR LOOP tasks

Functions and values

Function or valueDescription
addExecutable e task
Signature: e:CftExecutable -> task:CftExecutable -> CftExecutable

Add an executable

addExecutables
Signature: CftExecutable list -> CftExecutable -> CftExecutable

Add multiple executables

clearExecutables
Signature: CftExecutable -> CftExecutable

Remove all executables

create (...)
Signature: name:string -> initExpression:CfExpression option -> evalExpression:CfExpression -> assignExpression:CfExpression option -> CftExecutable

Create an empty FOR LOOP task

getAssignExpression
Signature: CftExecutable -> CfExpression option

Get the post-loop iteration assignment expression

getEvalExpression
Signature: CftExecutable -> CfExpression

Get the loop condition expression

getExecutables
Signature: CftForLoop -> CftExecutable list

Get the executables

getInitExpression
Signature: CftExecutable -> CfExpression option

Get the loop initialisation expression