| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1× 1× 100× 1× 125× 74× 125× 125× 74× 1× 1× | "use strict";
var BaseDefinitionWriter = (function () {
function BaseDefinitionWriter(writer) {
this.writer = writer;
}
BaseDefinitionWriter.prototype.writeWrap = function (def, action) {
if (typeof def.onBeforeWrite === "function")
def.onBeforeWrite(this.writer);
action();
if (typeof def.onAfterWrite === "function")
def.onAfterWrite(this.writer);
};
return BaseDefinitionWriter;
}());
exports.BaseDefinitionWriter = BaseDefinitionWriter;
//# sourceMappingURL=BaseDefinitionWriter.js.map
|