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

Function c

vulnerablecode/static/js/highlight-10.6.0.min.js:159–160  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

157return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t
158}function l(e){a+="<"+D(e)+[].map.call(e.attributes,(function(e){
159return" "+e.nodeName+'="'+r(e.value)+'"'})).join("")+">"}function c(e){
160a+="</"+D(e)+">"}function u(e){("start"===e.event?l:c)(e.node)}
161for(;e.length||t.length;){let t=o()
162;if(a+=r(n.substring(s,t[0].offset)),s=t[0].offset,t===e){i.reverse().forEach(c)
163;do{u(t.splice(0,1)[0]),t=o()}while(t===e&&t.length&&t[0].offset===s)

Callers

nothing calls this directly

Calls 1

DFunction · 0.85

Tested by

no test coverage detected