TIfOperation.Create constructor
Create conditional operation with condition and branches
Declaration
constructor Create(ACondition: TFPExprNode; ALeft: TFPExprNode;
ARight: TFPExprNode)Arguments
ACondition | The condition expression to evaluate |
ALeft | The then-branch expression |
ARight | The else-branch expression |
Description
The Create constructor creates a new conditional operation with the specified condition expression,
then-branch expression, and else-branch expression. It takes ownership of all three operand nodes.
The constructor properly initializes the conditional operation structure and establishes the relationship between the operation and its three operands (condition, then-branch, and else-branch), ensuring proper resource management.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
