// This pass finds all the GoogMsgNodes.
visitChildren(node);
// Move each GoogMsgNode to the earliest point it can go.
Map<SoyNode, List<SoyNode>> allDependeesMap = (new BuildAllDependeesMapVisitor()).exec(node);
for (GoogMsgNode googMsgNode : googMsgNodes) {
moveGoogMsgNodeEarlierHelper(googMsgNode, allDependeesMap.get(googMsgNode));
}
}