BinaryOp#

class BinaryOp(expression)#

Bases: NAryOp

Provides an expression with two operands.

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

  • -, /, mod

  • <, <=, >, >=, =, <>

  • lxor, lsl, lsr

  • times

See the binary_op example.

Parameters:
expression

Call expression to wrap.

Import detail#

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