Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-694 Eliminate duplicate DescriptionEffectiveStatementImpl objects
  3. YANGTOOLS-743

Eliminate use of StatementContextBase from parser.spi.meta classes

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

      Prerequisite.get() is used across several yang-parser-impl classes which utilize InferenceAction. In some places, the returned StmtContext needs to be downcasted to StatementContextBase in order to perform necessary operations with it later.
      It would be nice if the Prerequisite.get() method returned StatementContextBase right away so that we would not need to do the downcasting.

            Unassigned Unassigned
            ifoltin Igor Foltin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: