Sha256: 24169f618995ec098d0c4be07ed0b61bf956e3aee75bc3f44afd55c9c660a99d

Contents?: true

Size: 713 Bytes

Versions: 3

Compression:

Stored size: 713 Bytes

Contents

$traceurRuntime.ModuleStore.getAnonymousModule(function() {
  "use strict";
  var Node = module.require("./Node").Node;
  function CatchClause(param, body) {
    Node.call(this);
    this.type = "CatchClause";
    this.param = param;
    this.param.parent = this;
    this.body = body;
    this.body.parent = this;
  }
  CatchClause.prototype = Object.create(Node);
  CatchClause.prototype.codegen = function() {
    if (!Node.prototype.codegen.call(this)) {
      return;
    }
    this.param = this.param.codegen(false);
    this.defineIdentifier(this.param);
    this.body = this.body.codegen();
    return this;
  };
  exports.CatchClause = CatchClause;
  return {};
});

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