System.Classes.TParser.TokenComponentIdent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function TokenComponentIdent: string;

C++

System::UnicodeString __fastcall TokenComponentIdent();

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TParser

Description

Checks if the current token in the file is a valid component symbol.

Call TokenComponentIdent to check if the current token in the file is a symbol that legitimately represents a component. Namely, that it must start with a letter or number, and only contain alphanumeric and underscore characters. If it is valid, the string value of the token is returned. If not, an EParserError exception is raised.

See Also