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

TokenName

Get name for token type

Declaration

Source position: fpexprpars.pp line 838

function TokenName(

  AToken: TTokenType

):AnsiString;

Arguments

AToken

  

Token type to get name for

Function result

Returns string name for the token

Description

The TokenName function converts a TTokenType enumeration value to its corresponding string name. It provides a human-readable representation of token types for debugging, error reporting, and logging purposes.


Documentation generated on: Dec 15 2025