MCPcopy Create free account
hub / github.com/effect-app/libs / publicDeclarationRange

Function publicDeclarationRange

repos/effect/packages/tools/jsdocs/src/Jsdocs.ts:2662–2670  ·  view source on GitHub ↗
(node: ts.Node, name: string)

Source from the content-addressed store, hash-verified

2660 out: Array<JSDocModelDiagnostic>,
2661 range: [number, number],
2662 diagnostics: ReadonlyArray<JSDocDiagnostic>
2663) {
2664 for (const item of diagnostics) out.push({ ...item, range })
2665}
2666
2667function addJSDocLinkDiagnostics(
2668 sourceFile: ts.SourceFile,
2669 block: JSDocBlock,
2670 diagnostics: Array<JSDocModelDiagnostic>,
2671 linkContext: { readonly checker: ts.TypeChecker; readonly entry: ProgramCacheEntry; readonly cwd: string }
2672) {
2673 if (!hasInlineLink(block)) return

Callers 2

parseNamespaceTsFunction · 0.85
parseSourceFileDocsFunction · 0.85

Calls 1

nodeRangeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…