Home | History | Annotate | Download | only in template

Lines Matching full:template

5 package template
9 "text/template/parse"
12 // Error describes a problem encountered during template Escaping.
19 // Name is the name of the template in which the error was encountered.
21 // Line is the line number of the error in the template source or 0.
82 // Package html/template statically examines each path through an
107 // {{define "main"}} <script>{{template "helper"}}</script> {{end}}
114 // ErrNoSuchTemplate: "no such template ..."
116 // {{define "main"}}<div {{template "attrs"}}>{{end}}
119 // Package html/template looks through template calls to compute the
126 // ErrOutputContext: "cannot compute output context for template ..."
128 // {{define "t"}}{{if .T}}{{template "t" .T}}{{end}}{{.H}}",{{end}}
130 // A recursive template does not end in the same context in which it
132 // Look for typos in the named template.
133 // If the template should not be called in the named start context,
134 // look for calls to that template in unexpected contexts.
142 // Package html/template does not support interpolation into regular
150 // Package html/template does not support actions following a
192 return fmt.Sprintf("html/template:%s: %s", loc, e.Description)
194 return fmt.Sprintf("html/template:%s:%d: %s", e.Name, e.Line, e.Description)
196 return fmt.Sprintf("html/template:%s: %s", e.Name, e.Description)
198 return "html/template: " + e.Description
202 // The template Name still needs to be supplied.