Sha256: 1aa0c37fcf98b37c474897f261160aeb5c935818797075ca79530b50f0d37a7e

Contents?: true

Size: 786 Bytes

Versions: 3

Compression:

Stored size: 786 Bytes

Contents

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

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