UnaryOp#

class UnaryOp(expression)#

Bases: AryOp

Provides an expression with one operand.

The format is <operator> <operand>, where <operator> is one of these:

  • reverse

  • -, +

  • not

  • lnot

See the unary_op example.

Parameters:
expression

Call expression to wrap.

Overview#

operand

Operand of the operator.

Import detail#

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

Property detail#

property operand: Expression#

Operand of the operator.