{"version":3,"sources":["https://lively-kernel.org/lively4/lively4-tom/demos/tom/condition-plugin.js"],"names":["types","t","name","visitor","Conditional","path","string","stringLiteral","get","insertAfter"],"mappings":";;;;;;;;;+BAAe,UAAS,EAACA,OAAOC,CAAR,EAAT,EAAqB;AAChC,uBAAO;AACHC,0BAAM,kBADH;AAEHC,6BAAS;AACLC,oCAAYC,IAAZ,EAAkB;AACd;AACA,kCAAMC,SAASL,EAAEM,aAAF,CAAgB,WAAhB,CAAf;AACAF,iCAAKG,GAAL,CAAS,MAAT,EACKC,WADL,CACiBH,MADjB;AAEH;AANI;AAFN,iBAAP;AAWH,a","file":"condition-plugin.js","sourcesContent":["export default function({types: t}) {    \n    return {\n        name: 'condition-plugin',\n        visitor: {\n            Conditional(path) {\n                debugger\n                const string = t.stringLiteral('afterTest');\n                path.get('test')\n                    .insertAfter(string);\n            }\n        }\n    }\n}"]}