igniteui-react-core
Version:
Ignite UI React Core.
51 lines (50 loc) • 1.61 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { Base, markType } from "./type";
import { StringBuilder } from "./StringBuilder";
/**
* @hidden
*/
export let DescriptionSerializerBuilder = /*@__PURE__*/ (() => {
class DescriptionSerializerBuilder extends Base {
toString() {
return this.d.toString();
}
constructor() {
super();
this.d = null;
this.b = 0;
this.a = false;
this.d = new StringBuilder(0);
}
e(a) {
this.g();
this.d.l(a);
}
f(a) {
this.g();
this.d.u(a);
this.a = true;
}
g() {
if (this.a) {
for (let a = 0; a < this.b; a++) {
this.d.l("\t");
}
this.a = false;
}
}
i() {
this.b++;
}
h() {
this.b--;
}
}
DescriptionSerializerBuilder.$t = /*@__PURE__*/ markType(DescriptionSerializerBuilder, 'DescriptionSerializerBuilder');
return DescriptionSerializerBuilder;
})();