concepts.dsl.expression.ConditionalAssignExpression#

class ConditionalAssignExpression[source]#

Bases: _PredicateValueExpression, VariableAssignmentExpression

Methods

cached_string([max_length])

check_arguments()

Attributes

__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.

property is_and_expr: bool#
property is_constant_bool_expr: bool#
property is_exists_expr: bool#
property is_forall_expr: bool#
property is_implies_expr: bool#
property is_not_expr: bool#
property is_null_expression: bool#
property is_object_output_expression: bool#
property is_or_expr: bool#
property is_value_output_expression: bool#
property is_variable_assignment_expression: bool#
property is_xor_expr: bool#
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.