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

TFPDivideOperation

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Internally used class for division operations

Declaration

Source position: fpexprpars.pp line 334

type TFPDivideOperation = class(TMathOperation)

public

  procedure Check; override;

  

Validate the division operation for correctness

  function AsString; override;

  

Get string representation of division operation

  function NodeType; override;

  

Get the result type for division operations

  procedure GetNodeValue(); override;

  

Calculate the result of division operation

end;

Inheritance

TFPDivideOperation

  

Internally used class for division operations

|

TMathOperation

  

Internally used class for mathematical operations in expressions

|

TFPBinaryOperation

  

Internally used class for binary operations with left and right operands

|

TFPExprNode

  

Class for representing nodes in expression trees

|

TObject

Description

The TFPDivideOperation class implements division operations between two numeric operands, handling division by zero checks and type conversion for integers, floats, and currency values.

This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025