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

Separate out ModelProcessingPhase.SOURCE_PRE_LINKAGE phase handling

    XMLWordPrintable

Details

    • Improvement
    • Status: Confirmed
    • Medium
    • Resolution: Unresolved
    • None
    • None
    • parser
    • None

    Description

      BuildGlobalContext.completePhaseActions() contains special handling of ModelProcessingPhase.PRE_LINKAGE, which interacts with library sources.

      Since this is the first phase to execute and it is special in that it modifies required sources, we should have separated out handling for it – i.e. refactor executePhases() to explicitly handle it before going through the normal phases.

      This specialization is needed to eliminate loadPhaseStatements() loading statements into all libSources – even those which end up being unreferenced.

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated: