Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPUnaryOperator.Create

Create unary operator with operand

Declaration

Source position: fpexprpars.pp line 369

public constructor TFPUnaryOperator.Create(

  AOperand: TFPExprNode

);

Arguments

AOperand

  

The operand expression for the unary operator

Description

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.


Documentation generated on: Dec 15 2025