Sha256: 0ceb20e6229ad7a4d8f1899ca9517aeedf3256af92c2bc921292c525d426599a
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 KB
Contents
System.register("GoStatement", [], function() { "use strict"; var __moduleName = "GoStatement"; function require(path) { return $traceurRuntime.require("GoStatement", path); } "use strict"; (function() { var Node = module.require("../Node").Node; function GoStatement(body) { Node.call(this); this.type = "GoStatement"; this.body = body; this.body.parent = this; } GoStatement.prototype = Object.create(Node); GoStatement.prototype.codegen = function() { if (!Node.prototype.codegen.call(this)) { return; } this.body = this.body.codegen(); this.type = "ExpressionStatement"; this.expression = { "type": "CallExpression", "callee": { "type": "UnaryExpression", "operator": "async", "argument": { "type": "FunctionExpression", "id": null, "params": [], "defaults": [], "body": this.body, "rest": null, "generator": false, "expression": false } }, "arguments": [] }; return this; }; exports.GoStatement = GoStatement; }()); return {}; }); System.get("GoStatement" + '');
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/GoStatement.js |