get_next_token


Description:

public TokenType get_next_token ()

Parses the next token just like peek_next_token and also removes it from the input stream.

The token data is placed in the token, value, line, and position fields of the Scanner structure.

Parameters:

this

a Scanner

Returns:

the type of the token