[YANGTOOLS-1382] Hide StatementContextBase Created: 12/Dec/21 Updated: 13/Dec/21 Resolved: 13/Dec/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0 |
| Type: | Task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
StatementContextBase is referenced in individual statement supports. This is mostly because it offers functionality not exposed by StmtContext.Mutable. Fix this by promoting the methods involved and hide StatementContextBase. Since we are in the area, also audit the codebase for ugly casts from StmtContext to StmtContext.Mutable to gain access to things we do not really need, like Mutable.copyAsChildOf(). |