Lines Matching refs:replace
2498 replace []replace
2505 var replace []replace
2558 …if len(mctx.reverseDeps) > 0 || len(mctx.replace) > 0 || len(mctx.rename) > 0 || len(mctx.newModul…
2561 replace: mctx.replace,
2581 replace = append(replace, globalStateChange.replace...)
2700 errs = c.handleReplacements(replace)
3006 type replace struct { struct
3046 func (c *Context) handleReplacements(replacements []replace) []error {
3049 for _, replace := range replacements {
3050 for _, m := range replace.from.reverseDeps {
3052 if d.module == replace.from {
3054 if replace.predicate == nil || replace.predicate(m.logicModule, d.tag, d.module.logicModule) {
3055 m.directDeps[i].module = replace.to