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