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

Function convertSemanticMeaningToSymbolFlags

test/fixtures/snapshot/typescript.js:154392–154404  ·  view source on GitHub ↗
(meaning)

Source from the content-addressed store, hash-verified

154390 }
154391 }
154392 function convertSemanticMeaningToSymbolFlags(meaning) {
154393 var flags = 0;
154394 if (meaning & 4 /* SemanticMeaning.Namespace */) {
154395 flags |= 1920 /* SymbolFlags.Namespace */;
154396 }
154397 if (meaning & 2 /* SemanticMeaning.Type */) {
154398 flags |= 788968 /* SymbolFlags.Type */;
154399 }
154400 if (meaning & 1 /* SemanticMeaning.Value */) {
154401 flags |= 111551 /* SymbolFlags.Value */;
154402 }
154403 return flags;
154404 }
154405 function getResolvedSourceFileFromImportDeclaration(sourceFile, context, importDeclaration) {
154406 if (!importDeclaration || !ts.isStringLiteralLike(importDeclaration.moduleSpecifier))
154407 return undefined;

Callers 1

getInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected