[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Reads the next token and returns its type.
Source position: classesh.inc line 1440
public function TParser.NextToken: Char; |
NextToken parses the next token in the stream and returns its type. The type of the token can also be retrieved later reading Token property.
If the end of the stream is reached, toEOF is returned.
For details about token types, see TParser.Token
If an error occours while parsing the token, an EParserError exception is raised.
|
The type of the current token. |
lazarus-ccr.sourceforge.net |