Sha256: 9f7f5d4918b672dbd42487404d4cd1fbb3b8f60ceb4704b72be87d9d6d8a5567
Contents?: true
Size: 983 Bytes
Versions: 3
Compression:
Stored size: 983 Bytes
Contents
$traceurRuntime.ModuleStore.getAnonymousModule(function() { "use strict"; var Node = module.require("../Node").Node; function ConditionalExpression(test, consequent, alternate) { Node.call(this); this.type = "ConditionalExpression"; this.test = test; this.test.parent = this; this.consequent = consequent; this.consequent.parent = this; this.alternate = alternate; this.alternate.parent = this; } ConditionalExpression.prototype = Object.create(Node); ConditionalExpression.prototype.codegen = function() { if (!Node.prototype.codegen.call(this)) { return; } this.test = this.test.codegen(); this.consequent = this.consequent.codegen(); this.alternate = this.alternate.codegen(); return this; }; ConditionalExpression.prototype.hasCallExpression = function() { return true; }; exports.ConditionalExpression = ConditionalExpression; return {}; }); //# sourceMappingURL=ConditionalExpression.map
Version data entries
3 entries across 3 versions & 1 rubygems