Sha256: 2e6877417ecc41f0bcbcb9bb09264eaf782076f8f8ad5f4214d49cc6f7e67b6d
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
System.register("ImportDeclarationStatement", [], function() { "use strict"; var __moduleName = "ImportDeclarationStatement"; function require(path) { return $traceurRuntime.require("ImportDeclarationStatement", path); } "use strict"; (function() { var Node = module.require("../Node").Node; function ImportDeclarationStatement(specifiers, source, kind) { Node.call(this); this.type = "ImportDeclaration"; this.kind = kind; this.specifiers = specifiers; for (var $__0 = this.specifiers[$traceurRuntime.toProperty(Symbol.iterator)](), $__1; !($__1 = $__0.next()).done; ) { var specifier = $__1.value; { specifier.parent = this; } } this.source = source; this.source.parent = this; } ImportDeclarationStatement.prototype = Object.create(Node); ImportDeclarationStatement.prototype.codegen = function() { if (!Node.prototype.codegen.call(this)) { return; } var i = 0; for (var $__0 = this.specifiers[$traceurRuntime.toProperty(Symbol.iterator)](), $__1; !($__1 = $__0.next()).done; ) { var specifier = $__1.value; { this.specifiers[i] = specifier.codegen(); i++; } } this.source = this.source.codegen(); return this; }; exports.ImportDeclarationStatement = ImportDeclarationStatement; }()); return {}; }); System.get("ImportDeclarationStatement" + '');
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/ImportDeclarationStatement.js |