Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDefs class

In unit fpExprPars

Collection class for expression identifier definitions

Declaration

pascal
TFPExprIdentifierDefs = class(TCollection)

Inheritance

  1. TFPExprIdentifierDefs
  2. TCollection
  3. TPersistent
  4. TObject

Description

This collection class manages a set of TFPExprIdentifierDef objects, providing methods for adding, removing, and searching identifier definitions. I t serves as a registry for all available variables and functions in an expression context.

Properties

Parserprotected
IdentifierspublicAccess to identifier definitions by index

Methods

UpdateprotectedHandler called when an item in the collection has changed.
IndexOfIdentifierpublicFind the index of an identifier by name
FindIdentifierpublicFind an identifier by name
IdentifierByNamepublicGet an identifier by name
AddVariablepublicAdd a variable to the identifier collection
AddBooleanVariablepublicAdd a boolean variable to the collection
AddIntegerVariablepublicAdd an integer variable to the collection
AddFloatVariablepublicAdd a float variable to the collection
AddCurrencyVariablepublicAdd a currency variable to the collection
AddStringVariablepublicAdd a string variable to the collection
AddDateTimeVariablepublicAdd a datetime variable to the collection
AddFunctionpublicAdd a function to the collection

Inherited

From TCollection (30)

Add Assign BeginUpdate Changed Clear Count Create Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetItemName SetPropName Sort UpdateCount

From TPersistent (6)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetOwner

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.