Skip to content

PartitionByIfElse

cpgames edited this page Jul 13, 2022 · 1 revision

image

Partitions input Partition by all if-else statements.


Input Ports:

Start - execution entry.
Partition (type: Partition) - input partition.
ClauseConditionFilter (type: regex string) - only if-else statements with condition matching this filter will be returned. If left empty, all if-else statements will be returned.


Output Ports:

Done - execution exit.
Loop - executes for each if-else block.
LoopClause - executes for each clause in current if-else block.
IfElse (type: Partition) - the entire if-else block (includes if clause and all else if and else clauses that follow).
Clause (type: Partition) - individual clause in if-else block (can be if (){}, else if () {}, or else {}).
ClauseCondition (type: Partition) - condition block of current clause.
CaluseBody (type: Partition) - clause statement (everything inside {} brackets).

Example:

image
(LoopClause will execute 3 times for each Loop execution)

Clone this wiki locally