MCPcopy
hub / github.com/highlightjs/highlight.js / concat

Function concat

src/lib/regex.js:48–51  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

46 * @returns {string}
47 */
48export function concat(...args) {
49 const joined = args.map((x) => source(x)).join("");
50 return joined;
51}
52
53/**
54 * @param { Array<string | RegExp | Object> } args

Callers 12

swift.jsFile · 0.90
ESCAPED_CHARACTERFunction · 0.90
ESCAPED_NEWLINEFunction · 0.90
INTERPOLATIONFunction · 0.90
MULTILINE_STRINGFunction · 0.90
SINGLE_LINE_STRINGFunction · 0.90
EXTENDED_REGEXP_LITERALFunction · 0.90
keywordWrapperFunction · 0.90
kws_swift.jsFile · 0.90
lookaheadFunction · 0.85
anyNumberOfTimesFunction · 0.85
optionalFunction · 0.85

Calls 1

sourceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…