const i=n=>{t(n);for(const e of n.walk())t(e),e?.children?.length&&i(e);function t(e){e?.location&&delete e.location,e.tag===void 0&&delete e.tag}return n.type==="document"&&n?.children?.length?n?.children:n};export{i as simplifyAstStructure};
