TFPConstExpression.NodeType¶
Get the result type for constant expressions
Declaration¶
Source position: fpexprpars.pp line 483
public
function TFPConstExpression.NodeType : TResultType; override;
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.