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

Function a

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

Source from the content-addressed store, hash-verified

12 e.exports=n,e.exports.default=n;class t{constructor(e){
13 void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}
14 ignoreMatch(){this.isMatchIgnored=!0}}function a(e){
15 return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")
16 }function i(e,...n){const t=Object.create(null);for(const n in e)t[n]=e[n]
17 ;return n.forEach((e=>{for(const n in e)t[n]=e[n]})),t}
18 const r=e=>!!e.scope||e.sublanguage&&e.language;class s{constructor(e,n){
19 this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){

Callers 2

addTextMethod · 0.70
highlight.min.jsFile · 0.70

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected