MCPcopy Create free account
hub / github.com/ad-si/LuaCAD / x

Function x

website/highlight.min.js:60–66  ·  view source on GitHub ↗
(e,n,t={})

Source from the content-addressed store, hash-verified

58begin:"\\\\[\\s\\S]",relevance:0},O={scope:"string",begin:"'",end:"'",
59illegal:"\\n",contains:[v]},k={scope:"string",begin:'"',end:'"',illegal:"\\n",
60contains:[v]},x=(e,n,t={})=>{const i=a({scope:"comment",begin:e,end:n,
61contains:[]},t);i.contains.push({scope:"doctag",
62begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
63end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0})
64;const r=m("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/)
65;return i.contains.push({begin:b(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),i
66},M=x("//","$"),S=x("/\\*","\\*/"),A=x("#","$");var C=Object.freeze({
67__proto__:null,APOS_STRING_MODE:O,BACKSLASH_ESCAPE:v,BINARY_NUMBER_MODE:{
68scope:"number",begin:w,relevance:0},BINARY_NUMBER_RE:w,COMMENT:x,
69C_BLOCK_COMMENT_MODE:S,C_LINE_COMMENT_MODE:M,C_NUMBER_MODE:{scope:"number",

Callers 3

highlight.min.jsFile · 0.85
hFunction · 0.85
yFunction · 0.85

Calls 3

aFunction · 0.85
mFunction · 0.85
bFunction · 0.85

Tested by

no test coverage detected