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