OpCall#

class OpCall(expression)#

Bases: CallExpression

Calls a user-defined operator.

The format is <operator><< <instance parameter>, ...>>(<call parameter>, ...).

Parameters:
expression

Expression to wrap.

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.

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 call_parameters: list[Expression]#

Call parameters.

property instance_parameters: list[Expression]#

Instance call parameters.

property operator: scade.model.suite.Operator#

User operator.