concepts.dsl.expression.ConditionalAssignExpression#

class ConditionalAssignExpression[source]#

Bases: _PredicateValueExpression, VariableAssignmentExpression

Methods

cached_string([max_length])

check_arguments()

Attributes

return_type

predicate

The predicate expression, must be a FunctionApplicationExpression which refers to a state variable.

value

The expression for the value to assign to the state variable.

condition

The condition expression.

__init__(feature, value, condition)[source]#
Parameters:
__new__(**kwargs)#
cached_string(max_length=None)#
Parameters:

max_length (int | None) –

check_arguments()#
condition: ValueOutputExpression#

The condition expression.

predicate: VariableExpression | 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.