text/template/parse.TemplateNode.Name (field)
9 uses
text/template/parse (current package)
node.go#L981: Name string // The name of the template (unquoted).
node.go#L986: return &TemplateNode{tr: t, NodeType: NodeTemplate, Pos: pos, Line: line, Name: name, Pipe: pipe}
node.go#L997: sb.WriteString(strconv.Quote(t.Name))
node.go#L1010: return t.tr.newTemplate(t.Pos, t.Line, t.Name, t.Pipe.CopyPipe())
text/template
exec.go#L500: tmpl := s.tmpl.Lookup(t.Name)
exec.go#L502: s.errorf("template %q not defined", t.Name)
html/template
escape.go#L615: c, name := e.escapeTree(c, n, n.Name, n.Line)
escape.go#L616: if name != n.Name {
escape.go#L925: n.Name = name