export const simplifyAstStructure=l=>{var t,o;i(l);for(const o of l.walk())i(o),(null===(t=null==o?void 0:o.children)||void 0===t?void 0:t.length)&&simplifyAstStructure(o);function i(l){(null==l?void 0:l.location)&&delete l.location,void 0===l.tag&&delete l.tag}return"document"===l.type&&(null===(o=null==l?void 0:l.children)||void 0===o?void 0:o.length)?null==l?void 0:l.children:l};
//# sourceMappingURL=simplifyAstStructure.js.map