MCPcopy Create free account
hub / github.com/deepnote/vscode-deepnote / isNodeExported

Function isNodeExported

src/telemetryGenerator.node.ts:381–386  ·  view source on GitHub ↗

True if this is visible outside this file, false otherwise

(node: ts.Node)

Source from the content-addressed store, hash-verified

379
380/** True if this is visible outside this file, false otherwise */
381function isNodeExported(node: ts.Node): boolean {
382 return (
383 (ts.getCombinedModifierFlags(node as ts.Declaration) & ts.ModifierFlags.Export) !== 0 ||
384 (!!node.parent && node.parent.kind === ts.SyntaxKind.SourceFile)
385 );
386}
387
388function getTsCompilerOptionsJson(): any {
389 const tsconfigPath = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'tsconfig.json');

Callers 1

visitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected