isAtEnd method

bool isAtEnd()

Implementation

bool isAtEnd() {
  return peek().type == TokenType.EOF;
}