OpCall#

class ansys.scade.apitools.expr.access.OpCall(expression: scade.model.suite.ExprCall)#

Bases: CallExpression

Calls a user-defined operator.

The format is << parameter>, ...>>( parameter>, ...).

Notes#

The design differs slightly from the meta-model. The OpCall class is no longer aggregated by the CallExpression class but derives from it. This leads to a simpler design.

Parameters#

expression :

Expression to wrap.

Initialize the instance from the Scade expression.

Overview#

call_parameters

Call parameters.

instance_parameters

Instance call parameters.

operator

User operator.

Import detail#

from ansys.scade.apitools.expr.access import OpCall

Property detail#

property OpCall.call_parameters: list[Expression]#

Call parameters.

property OpCall.instance_parameters: list[Expression]#

Instance call parameters.

property OpCall.operator: scade.model.suite.Operator#

User operator.