MCPcopy Index your code
hub / github.com/nodejs/node / getNavigationTree

Function getNavigationTree

test/fixtures/snapshot/typescript.js:140755–140764  ·  view source on GitHub ↗
(sourceFile, cancellationToken)

Source from the content-addressed store, hash-verified

140753 }
140754 NavigationBar.getNavigationBarItems = getNavigationBarItems;
140755 function getNavigationTree(sourceFile, cancellationToken) {
140756 curCancellationToken = cancellationToken;
140757 curSourceFile = sourceFile;
140758 try {
140759 return convertToTree(rootNavigationBarNode(sourceFile));
140760 }
140761 finally {
140762 reset();
140763 }
140764 }
140765 NavigationBar.getNavigationTree = getNavigationTree;
140766 function reset() {
140767 curSourceFile = undefined;

Callers

nothing calls this directly

Calls 3

convertToTreeFunction · 0.85
rootNavigationBarNodeFunction · 0.85
resetFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…