FlattenOp#

class FlattenOp(expression)#

Bases: CallExpression

Provides flattening of a structure.

The format is (flatten <type>)(<flow>).

See the flatten_op example.

Parameters:
expression

Call expression to wrap.

Notes

The design differs slightly from the meta-model. This class derives from the CallExpression class.

Overview#

flow

Input flow.

type_

Type to build.

Import detail#

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

Property detail#

property flow: Expression#

Input flow.

property type_: scade.model.suite.NamedType#

Type to build.