Sha256: 4a621d1f20092b82ad6f94ee843321748f5d1ef822708b97b8fc912d603ff1c4

Contents?: true

Size: 848 Bytes

Versions: 3

Compression:

Stored size: 848 Bytes

Contents

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

//# sourceMappingURL=VariableDeclarator.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/VariableDeclarator.js
spider-src-0.1.6 lib/spider-src/support/spider/lib/ast/VariableDeclarator.js
spider-src-0.1.5 lib/spider-src/support/spider/lib/ast/VariableDeclarator.js