addExport(name, tree) {
    // Duplicate exports should have been checked already.
    assert(!this.exports_.has(name));
    this.exports_.set(name, tree);
  }
@param {string} name
@param {ParseTree|true} tree