visitor: Visit TemplateInstanceExp.