Lines Matching refs:group

228 func (group *moduleGroup) moduleOrAliasByVariantName(name string) moduleOrAlias {
229 for _, module := range group.modules {
237 func (group *moduleGroup) moduleByVariantName(name string) *moduleInfo {
238 return group.moduleOrAliasByVariantName(name).module()
253 group *moduleGroup member
300 if module.group != nil {
301 return module.group.name
320 return module.group.namespace
1435 func (c *Context) prettyPrintGroupVariants(group *moduleGroup) string {
1437 for _, moduleOrAlias := range group.modules {
1521 group := &moduleGroup{
1525 module.group = group
1528 ModuleGroup{moduleGroup: group},
1536 group.namespace = namespace
1538 c.moduleGroups = append(c.moduleGroups, group)
1779 if foundDep.group == module.group && beforeInModuleList(module, foundDep, module.group.modules) {
2188 var check func(group *moduleInfo) []*moduleInfo
2200 for _, dep := range module.group.modules {
2620 for _, group := range c.moduleGroups {
2621 for i := 0; i < len(group.modules); i++ {
2622 module := group.modules[i].module()
2630 group.modules, i = spliceModules(group.modules, i, module.splitModules)
2651 for _, moduleOrAlias := range group.modules {
2664 for i := 0; i < len(group.modules); i++ {
2665 if alias := group.modules[i].alias(); alias != nil {
2672 group.modules = append(group.modules[:i], group.modules[i+1:]...)
2801 uniqueName := c.nameInterface.UniqueName(newNamespaceContext(module), module.group.name)
3012 group *moduleGroup member
3017 group := c.moduleGroupFromName(name, module.namespace())
3019 if group == nil {
3023 for _, m := range group.modules {
3035 group, name := rename.group, rename.name
3036 if name == group.name || len(group.modules) < 1 {
3040 errs = append(errs, c.nameInterface.Rename(group.name, rename.name, group.namespace)...)
3091 group, exists := c.nameInterface.ModuleFromName(name, namespace)
3093 return group.moduleGroup
3102 for _, group := range wrappers {
3103 result = append(result, group.moduleGroup)
3169 for _, moduleOrAlias := range module.group.modules {
3550 return c.moduleInfo[module].group.modules.firstModule().logicModule
3554 return c.moduleInfo[module].group.modules.lastModule().logicModule
3907 iName := s.nameInterface.UniqueName(newNamespaceContext(iMod), iMod.group.name)
3908 jName := s.nameInterface.UniqueName(newNamespaceContext(jMod), jMod.group.name)