ModelModuleIndex
class ModelModuleIndex<M>(inventory: ModelIndex, declarationModule: (MetamodelEntity) -> M?, logicalOwners: Map<String, M> = emptyMap())
Classifies declarations and element ownership once, including for a multi-module full-model run.
Constructors
Link copied to clipboard
constructor(inventory: ModelIndex, declarationModule: (MetamodelEntity) -> M?, logicalOwners: Map<String, M> = emptyMap())
Functions
Link copied to clipboard
fun connectedScope(subjects: Collection<M>, contextModules: Collection<M> = emptyList()): ModelModuleScope<M>
Only the checked modules' own references select context; context never expands itself.
Link copied to clipboard