Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1452

PrefixToModule has cognitive issues

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 10.0.0
    • parser
    • None

    Description

      PrefixToModule is unlike any other ParserNamespace: it specifies lookup methods, which are referenced by StatementStream implementations. Otherwise it acts as your normal namespace for lookups from statement implementations.

      This fusion of contracts is an obvious bug: while the two views are related, their missions are not.

      Separate out the StatementStream contract from the ParserNamespace contract and clean up whatever fallout there is.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: