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

Function preventSubstitution

test/fixtures/snapshot/typescript.js:107310–107315  ·  view source on GitHub ↗

* Prevent substitution of a node for this transformer. * * @param node The node which should not be substituted.

(node)

Source from the content-addressed store, hash-verified

107308 * @param node The node which should not be substituted.
107309 */
107310 function preventSubstitution(node) {
107311 if (noSubstitution === undefined)
107312 noSubstitution = [];
107313 noSubstitution[ts.getNodeId(node)] = true;
107314 return node;
107315 }
107316 /**
107317 * Determines whether a node should not be substituted.
107318 *

Callers 3

createVariableAssignmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected