Plato on Github
Report Home
lang/compiler/codegen/block-expr.js
Maintainability
138.85
Lines of code
15
Difficulty
5.97
Estimated Errors
0.08
Function weight
By Complexity
By SLOC
(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);