* Determines whether expression substitutions are enabled for the provided node.
(node)
| 109675 | * Determines whether expression substitutions are enabled for the provided node. |
| 109676 | */ |
| 109677 | function isSubstitutionEnabled(node) { |
| 109678 | return (enabledSyntaxKindFeatures[node.kind] & 1 /* SyntaxKindFeatureFlags.Substitution */) !== 0 |
| 109679 | && (ts.getEmitFlags(node) & 4 /* EmitFlags.NoSubstitution */) === 0; |
| 109680 | } |
| 109681 | /** |
| 109682 | * Emits a node with possible substitution. |
| 109683 | * |