Skip to content

TFPExprIdentifierDefs.FindIdentifier

Find an identifier by name

Declaration

Source position: fpexprpars.pp line 585

public 
function TFPExprIdentifierDefs.FindIdentifier(const AName: ShortString)
                                              : TFPExprIdentifierDef;

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.