UnaryOp ======= .. py:class:: UnaryOp(expression) :canonical: ansys.scade.apitools.expr.access.UnaryOp Bases: :py:obj:`AryOp` Provides an expression with one operand. The format is `` ``, where ```` is one of these: * ``reverse`` * ``-``, ``+`` * ``not`` * ``lnot`` See the :ref:`unary_op ` example. :Parameters: **expression** Call expression to wrap. .. !! processed by numpydoc !! Overview -------- .. py:currentmodule:: UnaryOp .. tab-set:: .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~operand` - Operand of the operator. Import detail ------------- .. code-block:: python from ansys.scade.apitools.expr.access import UnaryOp Property detail --------------- .. py:property:: operand :canonical: ansys.scade.apitools.expr.access.UnaryOp.operand :type: Expression Operand of the operator. .. !! processed by numpydoc !!