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

Function createImmediatelyInvokedArrowFunction

test/fixtures/snapshot/typescript.js:26652–26661  ·  view source on GitHub ↗
(statements, param, paramValue)

Source from the content-addressed store, hash-verified

26650 /*argumentsArray*/ paramValue ? [paramValue] : []);
26651 }
26652 function createImmediatelyInvokedArrowFunction(statements, param, paramValue) {
26653 return createCallExpression(createArrowFunction(
26654 /*modifiers*/ undefined,
26655 /*typeParameters*/ undefined,
26656 /*parameters*/ param ? [param] : [],
26657 /*type*/ undefined,
26658 /*equalsGreaterThanToken*/ undefined, createBlock(statements, /*multiLine*/ true)),
26659 /*typeArguments*/ undefined,
26660 /*argumentsArray*/ paramValue ? [paramValue] : []);
26661 }
26662 function createVoidZero() {
26663 return createVoidExpression(createNumericLiteral("0"));
26664 }

Callers

nothing calls this directly

Calls 3

createCallExpressionFunction · 0.85
createArrowFunctionFunction · 0.85
createBlockFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…