MCPcopy Create free account
hub / github.com/Effect-TS/effect / nodeRange

Function nodeRange

packages/tools/jsdocs/src/Jsdocs.ts:2693–2695  ·  view source on GitHub ↗
(node: ts.Node)

Source from the content-addressed store, hash-verified

2691}
2692
2693function nodeRange(node: ts.Node): [number, number] {
2694 return [node.getStart(), node.getEnd()]
2695}
2696
2697function normalizeFile(cwd: string, filename: string): string {
2698 return normalizePathName(path.relative(cwd, filename))

Callers 6

inlineLinkSymbolFunction · 0.85
parseDocumentedTsFunction · 0.85
publicDeclarationRangeFunction · 0.85
parseTsMembersFunction · 0.85
parseNamespaceTsFunction · 0.85
parseSourceFileDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected