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

TFPConvertNode

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

Internally used class for type conversion operations

Declaration

Source position: fpexprpars.pp line 380

type TFPConvertNode = class(TFPUnaryOperator)

  function AsString; override;

  

Get string representation of conversion operation

end;

Inheritance

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

TFPConvertNode is the base class for all type conversion operations in the expression parser. It provides the fundamental infrastructure for converting values between different data types during expression evaluation.

The class extends TFPExprNode to provide conversion-specific functionality that enables automatic type coercion and explicit type casting operations within expressions.

Derived classes implement specific conversion logic for different source and target type combinations, ensuring type safety and proper value transformation during expression evaluation.

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