Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPExprIdentifierDefs.IdentifierByName

Get an identifier by name

Declaration

Source position: fpexprpars.pp line 586

public function TFPExprIdentifierDefs.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.


Documentation generated on: Dec 15 2025