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

Function withoutJsDocPrefixes

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

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

(list: string)

Source from the content-addressed store, hash-verified

2095
2096/** A multi-line JSDoc `@import { … }` list without its ` * ` line prefixes. */
2097function withoutJsDocPrefixes(list: string): string {
2098 return list.replace(/^[ \t]*\*(?!\/)/gm, '');
2099}
2100
2101/** A string-named specifier's name without its quotes, escapes decoded. */
2102function unquoteSpecifier(name: string): string {

Callers 1

extractJSImportsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected