Add dependency visiting methods to BottomUpMutatorContext

It can be useful for a BottomUpMutator to visit its dependencies.  Embed
all of TopDownMutatorContext into BottomUpMutatorContext.

Change-Id: I7c7262fbe3d8fa9cc0d26899eee704cc862835df
This commit is contained in:
Colin Cross 2016-07-27 10:12:49 -07:00
parent 15371ad652
commit a2b2080fcd

View file

@ -414,7 +414,7 @@ type TopDownMutatorContext interface {
}
type BottomUpMutatorContext interface {
baseMutatorContext
TopDownMutatorContext
AddDependency(module Module, tag DependencyTag, name ...string)
AddReverseDependency(module Module, tag DependencyTag, name string)