code: public void accept(final TokenType tokenType) {
          if (lexer.getCurrentToken().getType() != tokenType) {
              throw new SQLParsingException(lexer, tokenType);
          }
          lexer.nextToken();
      }
docs: Assert current token type should equals input token and go to next token type.
  
  @param tokenType token type