text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  var babel_core_1 = require("babel-core");
  var NodeGenerator_1 = require("../helpers/NodeGenerator");
  /**
   * Represents a mutator which can remove the conditional clause from statements.
   */
  var WhileStatementMutator = /** @class */ (function () {
      function WhileStatementMutator() {
          this.name = 'WhileStatement';
      }
      WhileStatementMutator.prototype.mutate = function (node, copy) {
          if (babel_core_1.types.isWhileStatement(node)) {
              return [NodeGenerator_1.default.createBooleanLiteralNode(node.test, false)];
          }
      };
      return WhileStatementMutator;
  }());
  exports.default = WhileStatementMutator;
  //# sourceMappingURL=WhileStatementMutator.js.map