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

Function s

explainshell/web/static/js/highlight.min.js:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")
16 }function i(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t]
17 ;return t.forEach((e=>{for(const t in e)n[t]=e[t]})),n}const s=e=>!!e.scope
18 ;class o{constructor(e,t){
19 this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){
20 this.buffer+=n(e)}openNode(e){if(!s(e))return;const t=((e,{prefix:t})=>{

Callers 3

openNodeMethod · 0.70
closeNodeMethod · 0.70
$Function · 0.70

Calls 1

UFunction · 0.70

Tested by

no test coverage detected