ansys.scade.apitools.create.expression.create_binary#

ansys.scade.apitools.create.expression.create_binary(op: str, tree1: EX, tree2: EX, modifiers: ET | List[ET] = None) ET#

Return the expression tree for a binary operator.

Parameters:
opstr

Binary operator to call: & | | | ^ | # | + | - | * | / | : | % | < | <= | > | >= | = | <>

tree1EX

First operand: expression tree.

tree2EX

Second operand: expression tree.

modifiersUnion[ET, List[ET]], default: None

List of higher-order constructs.

Returns:
ET