MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / withoutJsDocPrefixes

Function withoutJsDocPrefixes

src/resolution/import-resolver.ts:2178–2180  ·  view source on GitHub ↗

A multi-line JSDoc `@import { … }` list without its ` * ` line prefixes.

(list: string)

Source from the content-addressed store, hash-verified

2176
2177/** A multi-line JSDoc `@import { … }` list without its ` * ` line prefixes. */
2178function withoutJsDocPrefixes(list: string): string {
2179 return list.replace(/^[ \t]*\*(?!\/)/gm, '');
2180}
2181
2182/** A string-named specifier's name without its quotes, escapes decoded. */
2183function unquoteSpecifier(name: string): string {

Callers 1

extractJSImportsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected