- create_if(condition, then, else_)#
Return the expression tree for the if-then-else operator.
- Parameters:
- condition
EX
Expression tree corresponding to the condition of the selector.
- then
Union
[EX
,List
[EX
]] List of expressions trees when the condition is
True
.- else_
Union
[EX
,List
[EX
]] List of expressions trees when the condition is
False
.
- condition
- Returns:
ET
Notes
This is an interface change with respect to the SCADE Creation Library. The
then
flows andelse
flows are now specified in two separate lists.