Sha256: 24c3a1722cec54d72a01e3a8ca37b6ebac297aebd5a2a9ecc9a531b8ff2a28f6
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
System.register("ConditionalExpression", [], function() { "use strict"; var __moduleName = "ConditionalExpression"; function require(path) { return $traceurRuntime.require("ConditionalExpression", path); } "use strict"; (function() { 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 {}; }); System.get("ConditionalExpression" + '');
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spider-src-0.1.6 | lib/spider-src/support/spider/node_modules/spider-script/lib/ast/expressions/ConditionalExpression.js |