1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1 1 1 1 1 1 1 | (function(sc) { "use strict"; require("./codegen"); var CodeGen = sc.lang.compiler.CodeGen; CodeGen.addGenerateMethod("BlockExpression", function(node) { var body = this.withFunction([], function() { return this.generateStatements(node.body); }); return [ "(", body, ")()" ]; }); })(sc); |