Commit df3a85a
committed
Implement TreeLike for semantic::Policy
In preparation for removing recursive algorithms in the `semantic`
module implement the `TreeLike` trait to enable iteration over policy
nodes.
This is a direct copy of the `concrete::Policy` impl with the `And` and
`Or` variants removed.1 parent e813ad0 commit df3a85a
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
652 | 653 | | |
653 | 654 | | |
654 | 655 | | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
655 | 680 | | |
656 | 681 | | |
657 | 682 | | |
| |||
0 commit comments