(e,t)
| 32 | "string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{ |
| 33 | l._collapse(e)})))}}class c extends l{constructor(e){super(),this.options=e} |
| 34 | addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())} |
| 35 | addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const n=e.root |
| 36 | ;n.kind=t,n.sublanguage=!0,this.add(n)}toHTML(){ |
| 37 | return new o(this,this.options).value()}finalize(){return!0}}function u(e){ |