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

Function withoutJsDocPrefixes

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

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

(list: string)

Source from the content-addressed store, hash-verified

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

Callers 1

extractJSImportsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected