Sign in Join
FPDoc Onlineexperiment

TFPBinaryOperationClass type

In unit fpExprPars

Class reference type for TFPBinaryOperation

Declaration

pascal
TFPBinaryOperationClass = class of TFPBinaryOperation

Description

This is a class reference type (metaclass) for TFPBinaryOperation. It allows for dynamic creation of binary operation instances and enables polymorphic handling of different binary operation types during expression parsing.

Class reference types are essential in factory patterns where the specific binary operation class to be instantiated is determined at runtime based on the operator token encountered in the expression (such as +, -, *, /, etc.).

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