Sha256: 1c35f768a20e38b455d5f7c53977fe15c4576dd7d7439bffa32d9d998520a6f2
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
System.register("VariableDeclarator", [], function() { "use strict"; var __moduleName = "VariableDeclarator"; function require(path) { return $traceurRuntime.require("VariableDeclarator", path); } "use strict"; (function() { var Node = module.require("./Node").Node; function VariableDeclarator(id, init) { Node.call(this); this.type = "VariableDeclarator"; this.id = id; this.id.parent = this; this.init = init; if (typeof this.init !== "undefined" && this.init !== null) { this.init.parent = this; } } VariableDeclarator.prototype = Object.create(Node); VariableDeclarator.prototype.codegen = function() { if (!Node.prototype.codegen.call(this)) { return; } if (typeof this.init !== "undefined" && this.init !== null) { this.init = this.init.codegen(); } this.id = this.id.codegen(); return this; }; exports.VariableDeclarator = VariableDeclarator; }()); return {}; }); System.get("VariableDeclarator" + '');
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/VariableDeclarator.js |