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

Function walkTreeForImportMeta

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

Source from the content-addressed store, hash-verified

30704 undefined;
30705 }
30706 function walkTreeForImportMeta(node) {
30707 return isImportMeta(node) ? node : forEachChild(node, walkTreeForImportMeta);
30708 }
30709 /** Do not use hasModifier inside the parser; it relies on parent pointers. Use this instead. */
30710 function hasModifierOfKind(node, kind) {
30711 return ts.some(node.modifiers, function (m) { return m.kind === kind; });

Callers 1

getImportMetaIfNecessaryFunction · 0.85

Calls 2

isImportMetaFunction · 0.85
forEachChildFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…