MCPcopy Create free account
hub / github.com/ad-si/LuaCAD / span

Method span

website/highlight.min.js:25–26  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

23;return[`${n}${t.shift()}`,...t.map(((e,n)=>`${e}${"_".repeat(n+1)}`))].join(" ")
24}return`${n}${e}`})(e.scope,{prefix:this.classPrefix});this.span(n)}
25closeNode(e){i(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){
26this.buffer+=`<span class="${e}">`}}const s=(e={})=>{const n={children:[]}
27;return Object.assign(n,e),n};class o{constructor(){
28this.rootNode=s(),this.stack=[this.rootNode]}get top(){
29return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){

Callers 1

openNodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected