import { __exports as o } from "../../../../../../../../_virtual/traverseFast.js";
import { __require as n } from "../definitions/index.js";
Object.defineProperty(o, "__esModule", {
  value: !0
});
o.default = f;
var _ = n();
function f(e, i, r) {
  if (!e)
    return;
  const s = _.VISITOR_KEYS[e.type];
  if (!!s) {
    r = r || {}, i(e, r);
    for (const a of s) {
      const t = e[a];
      if (Array.isArray(t))
        for (const u of t)
          f(u, i, r);
      else
        f(t, i, r);
    }
  }
}
//# sourceMappingURL=traverseFast.js.map
