Sha256: f1a08046c19127253010ceacc98ec2d234cdca89a1223107204ead4614222078
Contents?: true
Size: 835 Bytes
Versions: 3
Compression:
Stored size: 835 Bytes
Contents
$traceurRuntime.ModuleStore.getAnonymousModule(function() { "use strict"; var Node = module.require("../Node").Node; function UntilStatement(test, body) { Node.call(this); this.type = "UntilStatement"; this.test = test; this.test.parent = this; this.body = body; this.body.parent = this; } UntilStatement.prototype = Object.create(Node); UntilStatement.prototype.codegen = function() { if (!Node.prototype.codegen.call(this)) { return; } this.type = "WhileStatement"; this.test = { "type": "UnaryExpression", "operator": "!", "argument": this.test.codegen(), "prefix": true }; this.body = this.body.blockWrap().codegen(); return this; }; exports.UntilStatement = UntilStatement; return {}; }); //# sourceMappingURL=UntilStatement.map
Version data entries
3 entries across 3 versions & 1 rubygems