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

Function visibilityToString

test/fixtures/snapshot/typescript.js:55380–55388  ·  view source on GitHub ↗
(flags)

Source from the content-addressed store, hash-verified

55378 return result || types;
55379 }
55380 function visibilityToString(flags) {
55381 if (flags === 8 /* ModifierFlags.Private */) {
55382 return "private";
55383 }
55384 if (flags === 16 /* ModifierFlags.Protected */) {
55385 return "protected";
55386 }
55387 return "public";
55388 }
55389 function getTypeAliasForTypeLiteral(type) {
55390 if (type.symbol && type.symbol.flags & 2048 /* SymbolFlags.TypeLiteral */ && type.symbol.declarations) {
55391 var node = ts.walkUpParenthesizedTypes(type.symbol.declarations[0].parent);

Callers 2

checkGrammarModifiersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…