concepts.dsl.expression.ConditionalAssignExpression#
- class ConditionalAssignExpression[source]#
Bases:
_PredicateValueExpression
,VariableAssignmentExpression
Methods
cached_string
([max_length])Attributes
The predicate expression, must be a
FunctionApplicationExpression
which refers to a state variable.The expression for the value to assign to the state variable.
The condition expression.
- __init__(feature, value, condition)[source]#
- Parameters:
feature (FunctionApplicationExpression)
value (ValueOutputExpression)
condition (ValueOutputExpression)
- __new__(**kwargs)#
- check_arguments()#
- condition: ValueOutputExpression#
The condition expression.
- predicate: FunctionApplicationExpression#
The predicate expression, must be a
FunctionApplicationExpression
which refers to a state variable.
- property return_type#
- value: ValueOutputExpression#
The expression for the value to assign to the state variable.