text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  var tslib_1 = require("tslib");
  var FactoryStructurePrinter_1 = require("../FactoryStructurePrinter");
  var JsxAttributeDeciderStructurePrinter = /** @class */ (function (_super) {
      tslib_1.__extends(JsxAttributeDeciderStructurePrinter, _super);
      function JsxAttributeDeciderStructurePrinter() {
          return _super !== null && _super.apply(this, arguments) || this;
      }
      JsxAttributeDeciderStructurePrinter.prototype.printText = function (writer, structure) {
          if (structure.isSpreadAttribute)
              this.factory.forJsxSpreadAttribute().printText(writer, structure);
          else
              this.factory.forJsxAttribute().printText(writer, structure);
      };
      return JsxAttributeDeciderStructurePrinter;
  }(FactoryStructurePrinter_1.FactoryStructurePrinter));
  exports.JsxAttributeDeciderStructurePrinter = JsxAttributeDeciderStructurePrinter;
  