text/template/parse.Tree.ErrorContext (method)

3 uses

	text/template/parse (current package)
		parse.go#L141: func (t *Tree) ErrorContext(n Node) (location, context string) {

	text/template
		exec.go#L134: 		location, context := s.tmpl.ErrorContext(s.node)

	html/template
		error.go#L219: 		loc, _ := (*parse.Tree)(nil).ErrorContext(e.Node)