text/template/parse.TemplateNode.Name (field)
9 uses
text/template/parse (current package)
node.go#L978: Name string // The name of the template (unquoted).
node.go#L983: return &TemplateNode{tr: t, NodeType: NodeTemplate, Pos: pos, Line: line, Name: name, Pipe: pipe}
node.go#L994: sb.WriteString(strconv.Quote(t.Name))
node.go#L1007: return t.tr.newTemplate(t.Pos, t.Line, t.Name, t.Pipe.CopyPipe())
text/template
exec.go#L425: tmpl := s.tmpl.Lookup(t.Name)
exec.go#L427: s.errorf("template %q not defined", t.Name)
html/template
escape.go#L607: c, name := e.escapeTree(c, n, n.Name, n.Line)
escape.go#L608: if name != n.Name {
escape.go#L889: n.Name = name