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

Function emitTypeQuery

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

Source from the content-addressed store, hash-verified

111953 popNameGenerationScope(node);
111954 }
111955 function emitTypeQuery(node) {
111956 writeKeyword("typeof");
111957 writeSpace();
111958 emit(node.exprName);
111959 emitTypeArguments(node, node.typeArguments);
111960 }
111961 function emitTypeLiteral(node) {
111962 writePunctuation("{");
111963 var flags = ts.getEmitFlags(node) & 1 /* EmitFlags.SingleLine */ ? 768 /* ListFormat.SingleLineTypeLiteralMembers */ : 32897 /* ListFormat.MultiLineTypeLiteralMembers */;

Callers 1

Calls 4

writeKeywordFunction · 0.85
writeSpaceFunction · 0.85
emitTypeArgumentsFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…