Create unary operator with operand
Source position: fpexprpars.pp line 369
public constructor TFPUnaryOperator.Create( |
AOperand: TFPExprNode |
); |
AOperand |
|
The operand expression for the unary operator |
The TFPUnaryOperator constructor creates a new unary operation with the specified operand. It takes ownership of the operand node and manages its lifecycle as part of the unary operation.
The constructor properly initializes the unary operation structure and establishes the relationship between the operation and its operand, ensuring that the operand is properly managed during the operation's lifetime.