Sha256: 98d1889347f4ad5fa347ea14b31bee96ab85ed4a7c25d73c4cc2564d1281ea30

Contents?: true

Size: 802 Bytes

Versions: 1

Compression:

Stored size: 802 Bytes

Contents

System.register("ThrowStatement", [], function() {
  "use strict";
  var __moduleName = "ThrowStatement";
  function require(path) {
    return $traceurRuntime.require("ThrowStatement", path);
  }
  "use strict";
  (function() {
    var Node = module.require("../Node").Node;
    function ThrowStatement(argument) {
      Node.call(this);
      this.type = "ThrowStatement";
      this.argument = argument;
      this.argument.parent = this;
    }
    ThrowStatement.prototype = Object.create(Node);
    ThrowStatement.prototype.codegen = function() {
      if (!Node.prototype.codegen.call(this)) {
        return;
      }
      this.argument = this.argument.codegen();
      return this;
    };
    exports.ThrowStatement = ThrowStatement;
  }());
  return {};
});
System.get("ThrowStatement" + '');

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