Lines Matching refs:group
55 …NewModule(ctx NamespaceContext, group ModuleGroup, module Module) (namespace Namespace, err []erro…
58 ModuleFromName(moduleName string, namespace Namespace) (group ModuleGroup, found bool)
106 func (s *SimpleNameInterface) NewModule(ctx NamespaceContext, group ModuleGroup, module Module) (na…
107 name := group.name
108 if group, present := s.modules[name]; present {
112 " %s <-- previous definition here", name, group.modules.firstModule().pos),
116 s.modules[name] = group
121 func (s *SimpleNameInterface) ModuleFromName(moduleName string, namespace Namespace) (group ModuleG…
122 group, found = s.modules[moduleName]
123 return group, found
137 group, exists := s.modules[oldName]
141 s.modules[newName] = group
142 delete(s.modules, group.name)
143 group.name = newName
149 for _, group := range s.modules {
150 groups = append(groups, group)