Skip to content

TParser.CheckToken

Checks whether the token if of the given type.

Declaration

Source position: classesh.inc line 2343

public 
procedure TParser.CheckToken(T: AnsiChar);

Errors

If current token isn't of type T, an EParserError exception is raised.

See also

Name Description
TParser.Token The type of the current token.