Sign in Join
FPDoc Onlineexperiment

TFPModuloOperation class

In unit fpExprPars

Internally used class for modulo operations

Declaration

pascal
TFPModuloOperation = class(TMathOperation)

Inheritance

  1. TFPModuloOperation
  2. TMathOperation
  3. TFPBinaryOperation
  4. TFPExprNode
  5. 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

Methods

CheckpublicValidate the modulo operation for correctness
AsStringpublicGet string representation of modulo operation
NodeTypepublicGet the result type for modulo operations
GetNodeValuepublicCalculate the result of modulo operation

Inherited

From TFPBinaryOperation (8)

CheckSameNodeTypes Create Destroy HasAggregate InitAggregate left Right UpdateAggregate

From TFPExprNode (3)

CheckNodeType IsAggregate NodeValue

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

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