UNPKG

1.6 kBSource Map (JSON)View Raw
1{"version":3,"sources":["ReturnStatement.ion"],"names":["ion","Statement","ReturnStatement","properties","activate",{"type":"Identifier","name":"activate","loc":{"start":{"line":7,"column":8,"fixed":true,"source":"ion/runtime/ReturnStatement.ion"},"end":{"line":7,"column":16,"fixed":true,"source":"ion/runtime/ReturnStatement.ion"}}},"argumentExpression","context","createRuntime","argument","watch","argumentWatcher","value","returnExpression","setValue","deactivate","unwatch"],"mappings":"aAAA;AAAA,IACIA,GAAA,G,OAAM,CAAO,KAAP,CADV,EAEIC,SAAA,G,OAAY,CAAO,aAAP,CAFhB;IAIaC,e;;QACTC,UAAA,EAAW;AAAA,YACPC,QAAA,EAAUC,YAClB;AAAA,gB,gCADQD,Q,uBACI,CAAZ;AAAA,gBACY,KAACE,kBAAD,QAACA,kB,WAAD,KAACA,kB,GAAsB,KAACC,OAAD,CAASC,aAAT,CAAuB,KAACC,QAAxB,CAAvB,CADZ;AAAA,gBAEY,KAACH,kBAAD,CAAoBI,KAApB,CACI,KAACC,eAAD,QAACA,e,WAAD,KAACA,e,YAAmB,UAACC,KAAD,E;2BAAW,KAACL,OAAD,CAASM,gBAAT,CAA0BC,QAA1B,CAAmCF,KAAnC,C;wBADnC,EAFZ;AAAA,aAFe;AAAA,YAOPG,UAAA,EAAYV,YACpB;AAAA,gB,gCADQU,U,uBACI,CAAZ;AAAA,gBACY,KAACT,kBAAD,CAAoBU,OAApB,CAA4B,KAACL,eAA7B,EADZ;AAAA,aARe;AAAA,S;OADsBV,S,EAJrC;2BAIaC,e","sourcesContent":["const\n ion = import '../'\n Statement = import './Statement'\n\nexport class ReturnStatement extends Statement\n properties:\n activate: ->\n super\n @argumentExpression ?= @context.createRuntime(@argument)\n @argumentExpression.watch(\n @argumentWatcher ?= (value) => @context.returnExpression.setValue(value)\n )\n deactivate: ->\n super\n @argumentExpression.unwatch(@argumentWatcher)\n"]}
\No newline at end of file