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