code: private void eatPossibleImplicitSemiColon() {
      if (peek(TokenType.SEMI_COLON) && peekToken().location.start.line == getLastLine()) {
        eat(TokenType.SEMI_COLON);
        return;
      }
      if (peekImplicitSemiColon()) {
        return;
      }
  
      reportError("Semi-colon expected");
    }
docs: Consume a (possibly implicit) semi-colon. Reports an error if a semi-colon is not present.