Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDef class

In unit fpExprPars

Class for defining identifiers in expressions

Declaration

pascal
TFPExprIdentifierDef = class(TCollectionItem)

Inheritance

  1. TFPExprIdentifierDef
  2. TCollectionItem
  3. TPersistent
  4. 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

AsFloatpublicGet identifier value as float
AsCurrencypublicGet identifier value as currency
AsIntegerpublicGet identifier value as integer
AsStringpublicGet identifier value as string
AsBooleanpublicGet identifier value as boolean
AsDateTimepublicGet identifier value as datetime
IdentifierTypepublishedThe type of this identifier
NamepublishedThe name of the identifier
ValuepublishedThe value of the identifier
ParameterTypespublishedThe parameter types for function identifiers
ResultTypepublishedThe result type of the identifier
NodeTypepublishedThe node type for this identifier
VariableArgumentCountpublished

Methods

CheckResultTypeprotected
CheckVariableprotected
FetchValueprotected
ArgumentCountpublicGet the number of arguments for function identifier
AssignpublicAssign values from another identifier definition
EventBasedVariablepublicCheck if identifier is an event-based variable

Events

OnGetFunctionValueCallBackpublicCallback property for function value evaluation
OnGetVariableValueCallBackpublicCallback property for variable value evaluation
OnGetFunctionValuepublishedEvent for function value evaluation
OnGetVariableValuepublishedEvent 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.