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

TFPModuloOperation

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

Internally used class for modulo operations

Declaration

Source position: fpexprpars.pp line 344

type TFPModuloOperation = class(TMathOperation)

public

  procedure Check; override;

  

Validate the modulo operation for correctness

  function AsString; override;

  

Get string representation of modulo operation

  function NodeType; override;

  

Get the result type for modulo operations

  procedure GetNodeValue(); override;

  

Calculate the result of modulo operation

end;

Inheritance

TFPModuloOperation

  

Internally used class for modulo 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 TFPModuloOperation class implements modulo operations that return the remainder after division between two integer operands.

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