[YANGTOOLS-1279] Refine statements are not SchemaNodes Created: 22/Apr/21 Updated: 23/Apr/21 Resolved: 23/Apr/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 7.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 | ||
| Epic Link: | Remove SchemaNode |
| Description |
|
RefineEffectiveStatementImpl happens to implement SchemaNode contract, which is not actually used anywhere. Most notably UsesNodes do not expose refines, but rather their effective indirection, i.e. pointers to the target nodes which have been refined. Drop the implementation of SchemaNode, reducit overhead and the mismatched contract we are attempting to fulfull. |