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

TFPExprNode.NodeType

Get the result type of this expression node

Declaration

Source position: fpexprpars.pp line 125

public function TFPExprNode.NodeType: TResultType; virtual; abstract;

Function result

Returns the result type of the node

Description

The NodeType abstract method must be implemented by derived classes to return the TResultType that indicates what type of value this node will produce when evaluated.

The result type information is essential for type checking during expression validation and for determining appropriate type conversions when combining values from different nodes.

Common result types include boolean, integer, float, string, datetime, and currency, depending on the specific operation or value represented by the node.


Documentation generated on: Dec 15 2025