text/template/parse.PipeNode.Decl (field)
16 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#L238: vars := make([]*VariableNode, len(p.Decl))
node.go#L239: for i, d := range p.Decl {
parse.go#L459: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L463: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L465: if context == "range" && len(pipe.Decl) < 2 {
text/template
exec.go#L262: if len(node.Pipe.Decl) == 0 {
exec.go#L359: if len(r.Pipe.Decl) > 0 {
exec.go#L363: if len(r.Pipe.Decl) > 1 {
exec.go#L463: for _, variable := range pipe.Decl {
html/template
escape.go#L165: if len(n.Pipe.Decl) != 0 {