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

Function createTypeOfExpression

test/fixtures/snapshot/typescript.js:24340–24345  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

24338 }
24339 // @api
24340 function createTypeOfExpression(expression) {
24341 var node = createBaseExpression(216 /* SyntaxKind.TypeOfExpression */);
24342 node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);
24343 node.transformFlags |= propagateChildFlags(node.expression);
24344 return node;
24345 }
24346 // @api
24347 function updateTypeOfExpression(node, expression) {
24348 return node.expression !== expression

Callers 2

updateTypeOfExpressionFunction · 0.85
createTypeCheckFunction · 0.85

Calls 4

createBaseExpressionFunction · 0.85
propagateChildFlagsFunction · 0.85
getWidenedTypeFunction · 0.85

Tested by

no test coverage detected