Plato on Github
Report Home
lang/compiler/codegen/value.js
Maintainability
136.61
Lines of code
16
Difficulty
5.42
Estimated Errors
0.09
Function weight
By Complexity
By SLOC
(function(sc) { "use strict"; require("./codegen"); var CodeGen = sc.lang.compiler.CodeGen; CodeGen.addGenerateMethod("ValueMethodEvaluator", function(node) { this.state.calledSegmentedMethod = true; return [ "this.push(),", this.generate(node.expr) ]; }); CodeGen.addGenerateMethod("ValueMethodResult", function() { return "this.shift()"; }); })(sc);