Skip to content

TParser.CheckToken

Checks whether the token if of the given type.

Declaration

Source position: classesh.inc line 1814

public 
  procedure CheckToken(T: Char);

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.