Skip to content

TIntConvertNode

Internally used class for integer conversion operations

Declaration

Source position: fpexprpars.pp line 394

type

  TIntConvertNode = class(TFPConvertNode)
  public
    procedure Check;
  end;

Description

The TIntConvertNode class handles conversion operations that produce integer results from various source data types. It extends TFPConvertNode to provide integer-specific conversion functionality.

The class is used when expressions require values to be converted to integer representation, such as when performing integer arithmetic operations or when explicit integer casting is needed.

The conversion handles different source types appropriately, applying truncation, rounding, or other integer conversion rules based on the source data type.

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
Check public Validate the integer conversion for correctness
See all Methods

See also

Name Description
TFPExprNode Class for representing nodes in expression trees