* Determines whether before/after emit notifications should be raised in the pretty * printer when it emits a node.
(node)
| 109701 | * printer when it emits a node. |
| 109702 | */ |
| 109703 | function isEmitNotificationEnabled(node) { |
| 109704 | return (enabledSyntaxKindFeatures[node.kind] & 2 /* SyntaxKindFeatureFlags.EmitNotifications */) !== 0 |
| 109705 | || (ts.getEmitFlags(node) & 2 /* EmitFlags.AdviseOnEmitNode */) !== 0; |
| 109706 | } |
| 109707 | /** |
| 109708 | * Emits a node with possible emit notification. |
| 109709 | * |
no outgoing calls
no test coverage detected