MCPcopy Index your code
hub / github.com/idank/explainshell / closeNode

Method closeNode

explainshell/web/static/js/highlight.min.js:25–25  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

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

Callers 3

_walkMethod · 0.45
endScopeMethod · 0.45
mFunction · 0.45

Calls 1

sFunction · 0.70

Tested by

no test coverage detected