Sign in Join
FPDoc Onlineexperiment

TFPExprIdentifierDefs.IdentifierByName function

Member of TFPExprIdentifierDefspublicIn unit fpExprPars

Get an identifier by name

Declaration

pascal
function IdentifierByName(const AName: ShortString)
: TFPExprIdentifierDef

Arguments

AName

The name of the identifier to get

Function result

Returns the identifier definition

Description

The IdentifierByName method retrieves an identifier by name from the collection. Unlike FindIdentifier, this method raises an exception if the identifier is not found, making it suitable for cases where the identifier is expected to exist.

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