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

Function importClauseFromImported

test/fixtures/snapshot/typescript.js:82229–82231  ·  view source on GitHub ↗
(decl)

Source from the content-addressed store, hash-verified

82227 return node.kind === 267 /* SyntaxKind.ImportClause */ || node.kind === 270 /* SyntaxKind.ImportSpecifier */ || node.kind === 268 /* SyntaxKind.NamespaceImport */;
82228 }
82229 function importClauseFromImported(decl) {
82230 return decl.kind === 267 /* SyntaxKind.ImportClause */ ? decl : decl.kind === 268 /* SyntaxKind.NamespaceImport */ ? decl.parent : decl.parent.parent;
82231 }
82232 function checkBlock(node) {
82233 // Grammar checking for SyntaxKind.Block
82234 if (node.kind === 235 /* SyntaxKind.Block */) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected