Sha256: e9454ddec40b837e6b0a9f9c99b5fd2f55b0d185942d6d403aba97cd7cb9b2e5

Contents?: true

Size: 711 Bytes

Versions: 3

Compression:

Stored size: 711 Bytes

Contents

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

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