Skip to content

TFPBinaryOperation.Create

Create binary operation with left and right operands

Declaration

Source position: fpexprpars.pp line 140

public 
constructor TFPBinaryOperation.Create(ALeft: TFPExprNode; 
                                     ARight: TFPExprNode);

Description

The TFPBinaryOperation constructor creates a new binary operation with the specified left and right operands. It takes ownership of both operand nodes and manages their lifecycle as part of the binary operation.

The constructor properly initializes the binary operation structure and establishes the relationship between the operation and its operands, ensuring that the operands are properly managed during the operation's lifetime.