import{RULESET as r,COMMENT as e,DECLARATION as t,IMPORT as n}from"./Enum.js";import{strlen as u,sizeof as o}from"./Utility.js";function i(r,e){for(var t="",n=o(r),u=0;u<n;u++)t+=e(r[u],u,r,e)||"";return t}function a(o,a,c,s){switch(o.type){case n:case t:return o.return=o.return||o.value;case e:return"";case r:o.value=o.props.join(",")}return u(c=i(o.children,s))?o.return=o.value+"{"+c+"}":""}export{i as serialize,a as stringify};
//# sourceMappingURL=Serializer.js.map
