code: func ProcessMessages(reg template.Registry) {
  	for _, t := range reg.Templates {
  		processTemplateMsgs(t.Node)
  	}
  }
docs: // ProcessMessages calculates the message ids and placeholder names for {msg}
  // nodes and sets that information on the node.