code: function overrideLocEnd(toBeOverriddenNode, toOverrideNode) {
      if (options.originalText[locEnd(toOverrideNode)] === ";") {
        return;
      }
      if (options.parser === "flow") {
        toBeOverriddenNode.range = [
          toBeOverriddenNode.range[0],
          toOverrideNode.range[1]
        ];
      } else {
        toBeOverriddenNode.end = toOverrideNode.end;
      }
      toBeOverriddenNode.loc = Object.assign({}, toBeOverriddenNode.loc, {
        end: toBeOverriddenNode.loc.end
      });
    }
docs: - `toOverrideNode` must be the last thing in `toBeOverriddenNode`
  - do nothing if there's a semicolon on `toOverrideNode.end` (no need to fix)