[YANGTOOLS-1120] Implement DocumentedNode methods in terms of EffectiveStatement Created: 03/Jul/20 Updated: 05/Jan/24 |
|
| Status: | Confirmed |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 14.0.0 |
| Type: | Improvement | 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 | ||
| Epic Link: | Remove DocumentedNode |
| Description |
|
Most of DocumentedNode/SchemaNode methods can be implemented in terms of EffectiveStatement lookup. Provide default implementations which defer to the EffectiveStatement view provided by Most of them (except the withFlags() stuff) needs to be migrated to yang.model.api. There they need to be tied with EffectiveStatementEquivalent and then integrated into individual SchemaNode definitions. |
| Comments |
| Comment by Robert Varga [ 05/Oct/20 ] |
|
The first iteration take care of only statement-specific methods. We will have a later follow-up to deal with common methods. |