docs: public void print(final Reader r) throws MtasParserException {
      try {
        setReader(r);
        reset();
        if (tokenCollection != null) {
          tokenCollection.print();
        }
        end();
        close();
      } catch (IOException e) {
        log.error(e);
        throw new MtasParserException(e.getClass() + " : " + e.getMessage());
      }
    }