Sha256: 4b39010f31392f8d4acfe736bbdf83f2c2aeaabdec590fde38f3de4396266f0d

Contents?: true

Size: 910 Bytes

Versions: 1

Compression:

Stored size: 910 Bytes

Contents

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

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