[YANGTOOLS-1190] Refactor AbstractAugmentStatementSupport Created: 27/Nov/20 Updated: 03/Dec/20 |
|
| Status: | Confirmed |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
AbstractAugmentStatementSupport supports both use cases of augment statement, with a single fused workflow. As part of it, it inserts its context into its target, hence having the same StmtContext under different roots – which breaks lifecycle when cleanups occur ( Refactor the class to make it very explicit which role is being served and what we are trying to achieve. |