hasNextToken method
Finds out if the tokenizer has a next token. Returns true if it has a next token, false otherwise.
Implementation
@override
bool hasNextToken() {
nextTokenValue = nextTokenValue ?? readNextToken();
return nextTokenValue != null;
}