MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / m

Function m

vulnerablecode/static/js/highlight-10.6.0.min.js:197–201  ·  view source on GitHub ↗
(e,t,n)

Source from the content-addressed store, hash-verified

195n+=M.substr(e),O.addText(n)})(),M=""}function h(e){
196return e.className&&O.openNode(w.classNameAliases[e.className]||e.className),
197R=Object.create(e,{parent:{value:R}}),R}function m(e,t,n){let r=((e,t)=>{
198const n=e&&e.exec(t);return n&&0===n.index})(e.endRe,n);if(r){if(e["on:end"]){
199const n=new s(e);e["on:end"](t,n),n.ignore&&(r=!1)}if(r){
200for(;e.endsParent&&e.parent;)e=e.parent;return e}}
201if(e.endsWithParent)return m(e.parent,t,n)}function b(e){
202return 0===R.matcher.regexIndex?(M+=e[0],1):(I=!0,0)}function x(e){
203const t=e[0],n=c.substr(e.index),s=m(R,e,n);if(!s)return G;const r=R
204;r.skip?M+=t:(r.returnEnd||r.excludeEnd||(M+=t),d(),r.excludeEnd&&(M=t));do{

Callers 2

xFunction · 0.85

Calls 1

execMethod · 0.45

Tested by

no test coverage detected