( node: BaseNode, kind: TraversalKind = this.trav )
| 642 | } |
| 643 | |
| 644 | override needsCtxFor( |
| 645 | node: BaseNode, |
| 646 | kind: TraversalKind = this.trav |
| 647 | ): boolean { |
| 648 | return ( |
| 649 | (kind !== "Allows" || !this.unifies(node)) && |
| 650 | super.needsCtxFor(node, kind) |
| 651 | ) |
| 652 | } |
| 653 | |
| 654 | // a key's union value is applied by its own traversal, which allows unpassed |
| 655 | override failingSiteOf(): undefined {} |