MCPcopy
hub / github.com/benjamn/recast / concat

Method concat

lib/lines.ts:695–700  ·  view source on GitHub ↗
(...args: (string | Lines)[])

Source from the content-addressed store, hash-verified

693 }
694
695 concat(...args: (string | Lines)[]) {
696 const list: typeof args = [this];
697 list.push.apply(list, args);
698 assert.strictEqual(list.length, args.length + 1);
699 return emptyLines.join(list);
700 }
701}
702
703const fromStringCache: any = {};

Callers 8

patcher.tsFile · 0.80
getReprinterFunction · 0.80
runTestsForParserFunction · 0.80
babel.tsFile · 0.80
printer.tsFile · 0.80
lines.tsFile · 0.80
eventsApiFunction · 0.80
backbone.jsFile · 0.80

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected