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

TFPConstExpression.NodeType

Get the result type for constant expressions

Declaration

Source position: fpexprpars.pp line 483

public function TFPConstExpression.NodeType: TResultType; override;

Function result

Returns the result type of the constant

Description

The NodeType method returns the data type of the constant value stored in the expression. The result type corresponds directly to the type of the constant data, whether it's integer, float, string, boolean, datetime, or currency.

For constant expressions, the node type is fixed and determined when the constant is created.


Documentation generated on: Dec 15 2025