MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / value

Method value

hyperagent-ext/media/scripts/highlight.min.js:25–25  ·  view source on GitHub ↗
()

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)}
25 closeNode(e){r(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){
26 this.buffer+=`<span class="${e}">`}}const o=(e={})=>{const n={children:[]}
27 ;return Object.assign(n,e),n};class l{constructor(){
28 this.rootNode=o(),this.stack=[this.rootNode]}get top(){

Callers 1

toHTMLMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected