ImportDependencies
This class holds the information about import dependencies between TranslationUnitDeclaration nodes. The dependency is based on which translation unit imports symbols of another translation unit (usually in the form of a NamespaceDeclaration). The idea is to provide a sorted list of TUs in which to resolve symbols and imports ideally. This is stored in sortedTranslationUnits and is automatically computed the fist time someone accesses the property.
Types
A work-list, which contains a local copy of our dependency map, so that we can remove items from it while determining the order.
Properties
The list of TranslationUnitDeclaration nodes, sorted by their position in the dependency graph. TUs without dependencies are first in the list, following by TUs that import TUs without dependencies, and so on.