Sha256: b59ac24e9d7b6ace2127f98d006f5bc5da51347eb5db325ba9ae0e29421d7e18

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

$traceurRuntime.ModuleStore.getAnonymousModule(function() {
  "use strict";
  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 {};
});

//# sourceMappingURL=ImportDeclarationStatement.map

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spider-src-0.1.7 lib/spider-src/support/spider/lib/ast/statements/ImportDeclarationStatement.js
spider-src-0.1.6 lib/spider-src/support/spider/lib/ast/statements/ImportDeclarationStatement.js
spider-src-0.1.5 lib/spider-src/support/spider/lib/ast/statements/ImportDeclarationStatement.js