parseVAST(vastXml, options = {}) {
    this.initParsingStatus(options);

    options.isRootVAST = true;

    return this.parse(vastXml, options).then((ads) => {
      return this.buildVASTResponse(ads);
    });
  }
/**
   * Parses the given xml Object into a VASTResponse.
   * Returns a Promise which resolves with a fully parsed VASTResponse or rejects with an Error.
   * @param  {Object} vastXml - An object representing a vast xml document.
   * @param  {Object} options - An optional Object of parameters to be used in the parsing process.
   * @emits  VASTParser#VAST-resolving
   * @emits  VASTParser#VAST-resolved
   * @emits  VASTParser#VAST-warning
   * @return {Promise}
   */
Parses the given xml Object into a VASTResponse.
Returns a Promise which resolves with a fully parsed VASTResponse or rejects with an Error.
@param  {Object} vastXml - An object representing a vast xml document.
@param  {Object} options - An optional Object of parameters to be used in the parsing process.
Parses the given xml Object into a VASTResponse . Returns a Promise which resolves with a fully parsed VASTResponse or rejects with an Error . @param { Object } vastXml - An object representing a vast xml document . @param { Object } options - An optional Object of parameters to be used in the parsing process .
parseVAST(vastXml, options = {}) {
    this.initParsingStatus(options);
    options.isRootVAST = true;
    return this.parse(vastXml, options).then((ads) => {
      return this.buildVASTResponse(ads);
    });
  }
parseVAST ( vastXml , options = { } ) { this . initParsingStatus ( options ) ; options . isRootVAST = true ; return this . parse ( vastXml , options ) . then ( ( ads ) => { return this . buildVASTResponse ( ads ) ; } ) ; }
Parses the given xml Object into a VASTResponse.
Parses the given xml Object into a VASTResponse .