TFPExprIdentifierDef class
Class for defining identifiers in expressions
Declaration
TFPExprIdentifierDef = class(TCollectionItem)Inheritance
- TFPExprIdentifierDef
- TCollectionItem
- TPersistent
- TObject
Descends from it: TFPBuiltInExprIdentifierDef
Description
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.
Properties
AsFloat | public | Get identifier value as float |
AsCurrency | public | Get identifier value as currency |
AsInteger | public | Get identifier value as integer |
AsString | public | Get identifier value as string |
AsBoolean | public | Get identifier value as boolean |
AsDateTime | public | Get identifier value as datetime |
IdentifierType | published | The type of this identifier |
Name | published | The name of the identifier |
Value | published | The value of the identifier |
ParameterTypes | published | The parameter types for function identifiers |
ResultType | published | The result type of the identifier |
NodeType | published | The node type for this identifier |
VariableArgumentCount | published |
Methods
CheckResultType | protected | |
CheckVariable | protected | |
FetchValue | protected | |
ArgumentCount | public | Get the number of arguments for function identifier |
Assign | public | Assign values from another identifier definition |
EventBasedVariable | public | Check if identifier is an event-based variable |
Events
OnGetFunctionValueCallBack | public | Callback property for function value evaluation |
OnGetVariableValueCallBack | public | Callback property for variable value evaluation |
OnGetFunctionValue | published | Event for function value evaluation |
OnGetVariableValue | published | Event for variable value evaluation |
Inherited
From TCollectionItem (13)
Changed Collection Create Destroy DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex
From TPersistent (5)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
