text/template/parse.Tree.newIf (method)
4 uses
text/template/parse (current package)
node.go#L887: return b.tr.newIf(b.Pos, b.Line, b.Pipe, b.List, b.ElseList)
node.go#L902: func (t *Tree) newIf(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *IfNode {
node.go#L907: return i.tr.newIf(i.Pos, i.Line, i.Pipe.CopyPipe(), i.List.CopyList(), i.ElseList.CopyList())
parse.go#L517: return t.newIf(t.parseControl(true, "if"))
 |
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. |