Skip to content

TExprBuiltInManager.IdentifierByName

Get identifier by name with exception on not found

Declaration

Source position: fpexprpars.pp line 816

public 
function TExprBuiltInManager.IdentifierByName(const AName: ShortString)
                                              : TFPBuiltInExprIdentifierDef;

Description

The IdentifierByName method retrieves a built-in identifier by name from the manager. Unlike FindIdentifier, this method raises an exception if the identifier is not found, making it suitable when the identifier is expected to exist.