hasNextToken method

  1. @override
bool hasNextToken()
override

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;
}