* Prevent substitution of a node for this transformer. * * @param node The node which should not be substituted.
(node)
| 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 | * |
no outgoing calls
no test coverage detected