Declaration¶
Source position: fpexprpars.pp line 334
type
TFPDivideOperation = class(TMathOperation)
public
procedure Check;
function AsString : AnsiString;
function NodeType : TResultType;
procedure GetNodeValue;
end;
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.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| AsString | public | Get string representation of division operation |
| Check | public | Validate the division operation for correctness |
| GetNodeValue | public | Calculate the result of division operation |
| NodeType | public | Get the result type for division operations |
See also¶
| Name | Description |
|---|---|
| TFPExprNode | Class for representing nodes in expression trees |