Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-784 Defer statement initialization in InferredStatementContext
  3. YANGTOOLS-1156

InferredStatementContext.isConfiguration() forces substatement materialization

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • 6.0.1, 5.0.8
    • None
    • parser
    • None

      We currently use generic method of discovery for isConfiguration(), which means searching all effective statements. This forces materialization of those substatements, which we do not need.

      If substatements have been materialized, we should fall back to searching them, but if they were not, we should check parent and and prototype – and make sense of that directly.

      This may require a bit of work as we are dealing with completely different assumptions than current utilities handle.

            miro.kovac Miroslav Kovac
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: