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

Function emitYield

test/fixtures/snapshot/typescript.js:103899–103901  ·  view source on GitHub ↗

* Emits a Yield operation for the provided expression. * * @param expression An optional value for the yield operation. * @param location An optional source map location for the assignment.

(expression, location)

Source from the content-addressed store, hash-verified

103897 * @param location An optional source map location for the assignment.
103898 */
103899 function emitYield(expression, location) {
103900 emitWorker(6 /* OpCode.Yield */, [expression], location);
103901 }
103902 /**
103903 * Emits a Return operation for the provided expression.
103904 *

Callers 1

visitYieldExpressionFunction · 0.85

Calls 1

emitWorkerFunction · 0.85

Tested by

no test coverage detected