Sha256: 421801bcf3b6bae6e1e631c7bf2abdc3c8f8f0ed0e66cb20813184c9161f9e96

Contents?: true

Size: 984 Bytes

Versions: 1

Compression:

Stored size: 984 Bytes

Contents

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

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