Sha256: fbcaf09e519af72de08bdd620ab84eb7225f2bac43b4429c4622d6f390854a6d

Contents?: true

Size: 899 Bytes

Versions: 1

Compression:

Stored size: 899 Bytes

Contents

System.register("CatchClause", [], function() {
  "use strict";
  var __moduleName = "CatchClause";
  function require(path) {
    return $traceurRuntime.require("CatchClause", path);
  }
  "use strict";
  (function() {
    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 {};
});
System.get("CatchClause" + '');

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/CatchClause.js