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

Function createGeneratorResume

test/fixtures/snapshot/typescript.js:103820–103823  ·  view source on GitHub ↗

* Creates an expression that can be used to resume from a Yield operation.

(location)

Source from the content-addressed store, hash-verified

103818 * Creates an expression that can be used to resume from a Yield operation.
103819 */
103820 function createGeneratorResume(location) {
103821 return ts.setTextRange(factory.createCallExpression(factory.createPropertyAccessExpression(state, "sent"),
103822 /*typeArguments*/ undefined, []), location);
103823 }
103824 /**
103825 * Emits an empty instruction.
103826 */

Callers 1

visitYieldExpressionFunction · 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…