var e=class{constructor(){this._isOptional=false;this.patterns=[];this.hiddenProperties={};}isOptional(t){return this._isOptional=t,this.getThis()}setPatterns(t){return this.patterns=t,this.getThis()}setPattern(t){return this.patterns=[t],this.getThis()}setHiddenProperty(t,i){return this.hiddenProperties[t]=i,this.getThis()}setHiddenProperties(t){return this.hiddenProperties=t,this.getThis()}};export{e as a};