Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDefs.FindIdentifier function

Member of TFPExprIdentifierDefspublicIn unit fpExprPars

Find an identifier by name

Declaration

pascal
function FindIdentifier(const AName: ShortString): TFPExprIdentifierDef

Arguments

AName

The name of the identifier to find

Function result

Returns the identifier definition or nil if not found

Description

The FindIdentifier method searches the collection for an identifier with the specified name and returns the TFPExprIdentifierDef object if found, or nil if not found. The search is case-sensitive and provides a convenient way to locate identifier definitions.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.