System.Classes.TParser.NextToken

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function NextToken: Char;

C++

System::WideChar __fastcall NextToken();

Properties

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

Description

Moves to the next token in the file.

Call NextToken to move to the next token in the file being parsed. This is normally called in a loop as the file is parsed, terminating when toEOF is encountered. Use Token to retrieve the type of the current token.

See Also