Lines Matching refs:modules
113 modules map[string]ModuleGroup member
119 modules: make(map[string]ModuleGroup),
126 if group, present := s.modules[name]; present {
130 " %s <-- previous definition here", name, group.modules.firstModule().pos),
134 s.modules[name] = group
147 group, found = s.modules[moduleName]
157 existingGroup, exists := s.modules[newName]
163 oldName, newName, existingGroup.modules.firstModule().pos),
167 group, exists := s.modules[oldName]
171 s.modules[newName] = group
172 delete(s.modules, group.name)
178 groups := make([]ModuleGroup, 0, len(s.modules))
179 for _, group := range s.modules {