text/template/parse.PipeNode.Decl (field)
17 uses
text/template/parse (current package)
node.go#L192: Decl []*VariableNode // Variables in lexical order.
node.go#L197: return &PipeNode{tr: t, NodeType: NodePipe, Pos: pos, Line: line, Decl: vars}
node.go#L211: if len(p.Decl) > 0 {
node.go#L212: for i, v := range p.Decl {
node.go#L236: vars := make([]*VariableNode, len(p.Decl))
node.go#L237: for i, d := range p.Decl {
parse.go#L426: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L430: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L432: if context == "range" && len(pipe.Decl) < 2 {
text/template
exec.go#L256: if len(node.Pipe.Decl) == 0 {
exec.go#L344: if len(r.Pipe.Decl) > 0 {
exec.go#L348: if len(r.Pipe.Decl) > 1 {
exec.go#L442: for _, variable := range pipe.Decl {
github.com/google/safehtml/template
escape.go#L122: if len(n.Pipe.Decl) != 0 {
html/template
escape.go#L147: if len(n.Pipe.Decl) != 0 {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |