function renameAll(renames, tree) {
  renames.forEach((rename) => {
    tree = AlphaRenamer.rename(tree, rename.oldName, rename.newName);
  });
  return tree;
}
@param {Array.<Rename>} renames
@param {ParseTree} tree
@return {ParseTree}