Sha256: ad4bf2f3917ce6eea0de0d7f5c243fe26222fdc66f9c19d17c69534cc075ace4
Contents?: true
Size: 1.16 KB
Versions: 1
Compression:
Stored size: 1.16 KB
Contents
System.register("PushStatement", [], function() { "use strict"; var __moduleName = "PushStatement"; function require(path) { return $traceurRuntime.require("PushStatement", path); } "use strict"; (function() { var Node = module.require("../Node").Node; function PushStatement(left, right) { Node.call(this); this.type = "PushStatement"; this.left = left; this.left.parent = this; this.right = right; this.right.parent = this; } PushStatement.prototype = Object.create(Node); PushStatement.prototype.codegen = function() { if (!Node.prototype.codegen.call(this)) { return; } this.type = "ExpressionStatement"; this.expression = { "type": "CallExpression", "callee": { "type": "MemberExpression", "object": this.left.codegen(), "property": { "type": "Identifier", "name": "push" }, "computed": false }, "arguments": [this.right.codegen()] }; return this; }; exports.PushStatement = PushStatement; }()); return {}; }); System.get("PushStatement" + '');
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/statements/PushStatement.js |