text/template/parse.PipeNode.Decl (field)

23 uses

	text/template/parse (current package)
		node.go#L194: 	Decl     []*VariableNode // Variables in lexical order.
		node.go#L199: 	return &PipeNode{tr: t, NodeType: NodePipe, Pos: pos, Line: line, Decl: vars}
		node.go#L213: 	if len(p.Decl) > 0 {
		node.go#L214: 		for i, v := range p.Decl {
		node.go#L242: 	vars := make([]*VariableNode, len(p.Decl))
		node.go#L243: 	for i, d := range p.Decl {
		parse.go#L471: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L475: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L477: 			if context == "range" && len(pipe.Decl) < 2 {

	text/template
		exec.go#L268: 		if len(node.Pipe.Decl) == 0 {
		exec.go#L364: 		if len(r.Pipe.Decl) > 0 {
		exec.go#L368: 				if len(r.Pipe.Decl) > 1 {
		exec.go#L369: 					s.setVar(r.Pipe.Decl[0].Ident[0], index)
		exec.go#L371: 					s.setVar(r.Pipe.Decl[0].Ident[0], elem)
		exec.go#L379: 		if len(r.Pipe.Decl) > 1 {
		exec.go#L381: 				s.setVar(r.Pipe.Decl[1].Ident[0], elem)
		exec.go#L400: 		if len(r.Pipe.Decl) > 1 {
		exec.go#L455: 			if len(r.Pipe.Decl) > 1 {
		exec.go#L475: 				if len(r.Pipe.Decl) > 1 {
		exec.go#L538: 	for _, variable := range pipe.Decl {

	html/template
		escape.go#L171: 	if len(n.Pipe.Decl) != 0 {