[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Class for defining identifiers in expressions
Source position: fpexprpars.pp line 499
type TFPExprIdentifierDef = class(TCollectionItem) |
||
public |
||
function ArgumentCount; |
|
Get the number of arguments for function identifier |
procedure Assign(); override; |
|
Assign values from another identifier definition |
function EventBasedVariable; |
|
Check if identifier is an event-based variable |
property AsFloat: TExprFloat; [rw] |
|
Get identifier value as float |
property AsCurrency: Currency; [rw] |
|
Get identifier value as currency |
|
Get identifier value as integer |
|
property AsString: AnsiString; [rw] |
|
Get identifier value as string |
property AsBoolean: Boolean; [rw] |
|
Get identifier value as boolean |
property AsDateTime: TDateTime; [rw] |
|
Get identifier value as datetime |
property OnGetFunctionValueCallBack: TFPExprFunctionCallBack; [rw] |
|
Callback property for function value evaluation |
property OnGetVariableValueCallBack: TFPExprVariableCallBack; [rw] |
|
Callback property for variable value evaluation |
published |
||
property IdentifierType: TIdentifierType; [rw] |
|
The type of this identifier |
property Name: ShortString; [rw] |
|
The name of the identifier |
property Value: AnsiString; [rw] |
|
The value of the identifier |
property ParameterTypes: AnsiString; [rw] |
|
The parameter types for function identifiers |
property ResultType: TResultType; [rw] |
|
The result type of the identifier |
property OnGetFunctionValue: TFPExprFunctionEvent; [rw] |
|
Event for function value evaluation |
property OnGetVariableValue: TFPExprVariableEvent; [rw] |
|
Event for variable value evaluation |
property NodeType: TFPExprFunctionClass; [rw] |
|
The node type for this identifier |
property VariableArgumentCount: Boolean; [rw] |
||
end; |
|
Class for defining identifiers in expressions |
|
| | | ||
| | | ||
| | | ||
The TFPExprIdentifierDef class defines an identifier (variable or function) that can be used in expressions. It holds the name, type, and implementation details for identifiers, allowing the expression parser to resolve and evaluate them during expression processing.