Description
Our implementation for ModuleEffectiveStatement indexes effective statements in the StmtContext before considering submodules, simply because the context is passed to AbstractSchemaEffectiveDocumentedNode without these statements.
This is then worked around by AbstractEffectiveModule constructor, which manually attaches these modules before indexing them (for SchemaNode-only indexes).
Code structure here seems to be very difficult and hacky, which points towards the fact the code needs to be restructured.
Attachments
Issue Links
- blocks
-
YANGTOOLS-1040 Cleanup unknownSchemaNode/mustConstraints collections
-
- Resolved
-
-
YANGTOOLS-1041 Index SchemaNode substatements lazily
-
- Resolved
-
- relates to
-
YANGTOOLS-1044 Rework Uses statement ordering
-
- Confirmed
-