MCPcopy Create free account
hub / github.com/nodejs/node / rangeOfNode

Function rangeOfNode

test/fixtures/snapshot/typescript.js:20994–20996  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

20992 }
20993 ts.minAndMax = minAndMax;
20994 function rangeOfNode(node) {
20995 return { pos: getTokenPosOfNode(node), end: node.end };
20996 }
20997 ts.rangeOfNode = rangeOfNode;
20998 function rangeOfTypeParameters(sourceFile, typeParameters) {
20999 // Include the `<>`

Callers

nothing calls this directly

Calls 1

getTokenPosOfNodeFunction · 0.85

Tested by

no test coverage detected