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

Function nodeRange

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

Source from the content-addressed store, hash-verified

2637}
2638
2639function nodeRange(node: ts.Node): [number, number] {
2640 return [node.getStart(), node.getEnd()]
2641}
2642
2643function normalizeFile(cwd: string, filename: string): string {
2644 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