Lines Matching refs:replace
2186 replace []replace
2193 var replace []replace
2241 …if len(mctx.reverseDeps) > 0 || len(mctx.replace) > 0 || len(mctx.rename) > 0 || len(mctx.newModul…
2244 replace: mctx.replace,
2264 replace = append(replace, globalStateChange.replace...)
2364 errs = c.handleReplacements(replace)
2660 type replace struct { struct
2706 func (c *Context) handleReplacements(replacements []replace) []error {
2709 for _, replace := range replacements {
2710 for _, m := range replace.from.reverseDeps {
2712 if d.module == replace.from {
2714 if replace.predicate == nil || replace.predicate(m.logicModule, d.tag, d.module.logicModule) {
2715 m.directDeps[i].module = replace.to