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

Function writeAssign

test/fixtures/snapshot/typescript.js:104239–104241  ·  view source on GitHub ↗

* Writes an Assign operation to the current label's statement list. * * @param left The left-hand side of the assignment. * @param right The right-hand side of the assignment. * @param operationLocation The source map location for the operation.

(left, right, operationLocation)

Source from the content-addressed store, hash-verified

104237 * @param operationLocation The source map location for the operation.
104238 */
104239 function writeAssign(left, right, operationLocation) {
104240 writeStatement(ts.setTextRange(factory.createExpressionStatement(factory.createAssignment(left, right)), operationLocation));
104241 }
104242 /**
104243 * Writes a Throw operation to the current label's statement list.
104244 *

Callers 1

writeOperationFunction · 0.85

Calls 1

writeStatementFunction · 0.85

Tested by

no test coverage detected