Lines Matching refs:modules
97 modules map[string]ModuleGroup member
102 modules: make(map[string]ModuleGroup),
108 if group, present := s.modules[name]; present {
112 " %s <-- previous definition here", name, group.modules.firstModule().pos),
116 s.modules[name] = group
122 group, found = s.modules[moduleName]
127 existingGroup, exists := s.modules[newName]
133 oldName, newName, existingGroup.modules.firstModule().pos),
137 group, exists := s.modules[oldName]
141 s.modules[newName] = group
142 delete(s.modules, group.name)
148 groups := make([]ModuleGroup, 0, len(s.modules))
149 for _, group := range s.modules {