MCPcopy Create free account
hub / github.com/celtera/avendish /

Class

book/theme/highlight.js:26–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}return`${t}${e}`})(t,{prefix:this.classPrefix}),this.span(t)}closeNode(e){
25o(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){
26this.buffer+=`<span class="${e}">`}}class c{constructor(){this.rootNode={
27children:[]},this.stack=[this.rootNode]}get top(){
28return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){
29this.top.children.push(e)}openNode(e){const t={kind:e,children:[]}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected