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

Function l

webdiff/static/js/highlight.min.js:1415–1419  ·  view source on GitHub ↗
({includeEqual:e})

Source from the content-addressed store, hash-verified

1413}),e.C_LINE_COMMENT_MODE]},i={scope:"variable",begin:/``/,end:/``/
1414},s=/\B('|\^)/,o={scope:"symbol",variants:[{match:E(s,/``.*?``/)},{
1415match:E(s,e.UNDERSCORE_IDENT_RE)}],relevance:0},l=({includeEqual:e})=>{let t
1416;t=e?"!%&*+-/<=>@^|~?":"!%&*+-/<>@^|~?"
1417;const a=E("[",...Array.from(t).map(c),"]"),n=g(a,/\./),r=E(n,m(n)),i=g(E(r,n,"*"),E(a,"+"))
1418;return{scope:"operator",match:g(i,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),
1419relevance:0}},_=l({includeEqual:!0}),d=l({includeEqual:!1}),p=(t,s)=>({
1420begin:E(t,m(E(/\s*/,g(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:s,
1421end:m(g(/\n/,/=/)),relevance:0,keywords:e.inherit(n,{type:a}),
1422contains:[r,o,e.inherit(i,{scope:null}),d]

Callers 1

highlight.min.jsFile · 0.70

Calls 3

EFunction · 0.70
gFunction · 0.70
mFunction · 0.70

Tested by

no test coverage detected