Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TIntConvertNode

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Internally used class for integer conversion operations

Declaration

Source position: fpexprpars.pp line 394

type TIntConvertNode = class(TFPConvertNode)

public

  procedure Check; override;

  

Validate the integer conversion for correctness

end;

Inheritance

TIntConvertNode

  

Internally used class for integer conversion operations

|

TFPConvertNode

  

Internally used class for type conversion operations

|

TFPUnaryOperator

  

Internally used class for unary operations with single operand

|

TFPExprNode

  

Class for representing nodes in expression trees

|

TObject

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.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025