MCPcopy Create free account
hub / github.com/idank/explainshell / finalize

Method finalize

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

Source from the content-addressed store, hash-verified

40 this.closeNode()}__addSublanguage(e,t){const n=e.root
41 ;t&&(n.scope="language:"+t),this.add(n)}toHTML(){
42 return new o(this,this.options).value()}finalize(){
43 return this.closeAllNodes(),!0}}function l(e){
44 return e?"string"==typeof e?e:e.source:null}function g(e){return h("(?=",e,")")}
45 function u(e){return h("(?:",e,")*")}function d(e){return h("(?:",e,")?")}
46 function h(...e){return e.map((e=>l(e))).join("")}function f(...e){const t=(e=>{

Calls 1

closeAllNodesMethod · 0.80