code: function htmlToAst(options) {
    const handler = createHandler(options.verbosity);
    const parser = new htmlParser.Parser(handler, htmlParserOptions);
  
    options.html.split(/\n\r?/).forEach(line => {
      handler.nextLine();
      parser.write(line);
    });
  
    parser.end();
    return handler.getResult();
  }
docs: @typedef  {object} HTAOptions
  @property {string} html              The HTML
  @property {string} [verbosity=NONE]  The verbosity level. One of NONE, LOG,
  WARNING, ERROR
   
  Parses an HTML and return its corresponding AST.
  
  @param  {HTAOptions} options  The options
  @return {AST}                 The AST