[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:
Relates
relates to YANGTOOLS-743 Eliminate use of StatementContextBase... Resolved

 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().


Generated at Wed Feb 07 20:55:59 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.