MCPcopy Create free account
hub / github.com/danvk/webdiff / toHTML

Method toHTML

webdiff/static/js/highlight.min.js:41–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}
40addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const a=e.root
41;a.sublanguage=!0,a.language=t,this.add(a)}toHTML(){
42return new s(this,this.options).value()}finalize(){return!0}}function c(e){
43return RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function d(e){
44return e?"string"==typeof e?e:e.source:null}function m(e){return E("(?=",e,")")}
45function p(e){return E("(?:",e,")*")}function u(e){return E("(?:",e,")?")}

Callers 1

TFunction · 0.80

Calls 1

valueMethod · 0.80

Tested by

no test coverage detected