parse_token


Description:

[ Version ( since = "2.4" ) ]
public bool parse_token (TokenType token)

Parameters:

this

A Scanner created by Scanner.file or Scanner.string

token

the TokenType expected as next token.

Returns:

true if the next token is token, false otherwise.