Sign in Join
FPDoc Onlineexperiment

TFPUnaryOperator.Destroy destructor

Member of TFPUnaryOperatorpublicIn unit fpExprPars

Destroy unary operator and free resources

Declaration

pascal
destructor Destroy; override

Description

This destructor properly cleans up the unary operation by freeing the operand node and any other resources used by the operation.

The destructor ensures that all memory allocated for the operand is properly released, preventing memory leaks in complex expression trees.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.