Lines Matching refs:variant

178 	variant variant  member
185 func (m *moduleAlias) moduleOrAliasVariant() variant { return m.variant }
190 func (m *moduleInfo) moduleOrAliasVariant() variant { return m.variant }
196 moduleOrAliasVariant() variant
250 variant variant member
283 type variant struct { struct
309 if module.variant.name != "" {
310 s += fmt.Sprintf(" variant %q", module.variant.name)
1307 local bool) variant {
1309 newVariantName := module.variant.name
1318 newVariations := module.variant.variations.clone()
1324 newDependencyVariations := module.variant.dependencyVariations.clone()
1332 return variant{newVariantName, newVariations, newDependencyVariations}
1366 newModule.variant = newVariant(origModule, mutatorName, variationName, local)
1439 variants = append(variants, c.prettyPrintVariant(mod.variant.variations))
1441 variants = append(variants, c.prettyPrintVariant(alias.variant.variations)+
1442 " (alias to "+c.prettyPrintVariant(alias.target.variant.variations)+")")
1655 return nil, c.discoveredMissingDependencies(module, depName, module.variant.dependencyVariations)
1661 c.prettyPrintVariant(module.variant.dependencyVariations),
1690 …return module, c.discoveredMissingDependencies(module, destName, module.variant.dependencyVariatio…
1696 c.prettyPrintVariant(module.variant.dependencyVariations),
1711 newVariant = module.variant.dependencyVariations.clone()
1714 newVariant = module.variant.variations.clone()
1724 check := func(variant variationMap) bool {
1726 return newVariant.subsetOf(variant)
1728 return variant.equal(newVariant)
2298 Variations: toJsonVariationMap(m.variant.variations),
2299 DependencyVariations: toJsonVariationMap(m.variant.dependencyVariations),
2650 findAliasTarget := func(variant variant) *moduleInfo {
2653 if alias.variant.variations.equal(variant.variations) {
2667 newTarget := findAliasTarget(alias.target.variant)
2804 prefix := moduleNamespacePrefix(sanitizedName + "_" + module.variant.name)
3024 if module.variant.name == m.moduleOrAliasVariant().name {
3160 var variant *moduleInfo
3165 module, funcName(visit), variant))
3170 if variant = moduleOrAlias.module(); variant != nil {
3171 visit(variant.logicModule)
3421 return module.variant.name
3885 iName = s[i].module.variant.name
3886 jName = s[j].module.variant.name
3910 iVariantName := s.modules[i].variant.name
3911 jVariantName := s.modules[j].variant.name
3914 iName, iVariantName, iMod.variant.variations, jMod.variant.variations))
3965 "variant": module.variant.name,
4175 Variant: {{.variant}}