type text/template/parse.BranchNode
13 uses
text/template/parse (current package)
node.go#L839: type BranchNode struct {
node.go#L849: func (b *BranchNode) String() string {
node.go#L855: func (b *BranchNode) writeTo(sb *strings.Builder) {
node.go#L880: func (b *BranchNode) tree() *Tree {
node.go#L884: func (b *BranchNode) Copy() Node {
node.go#L899: BranchNode
node.go#L903: return &IfNode{BranchNode{tr: t, NodeType: NodeIf, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L912: BranchNode
node.go#L916: return &RangeNode{BranchNode{tr: t, NodeType: NodeRange, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L925: BranchNode
node.go#L929: return &WithNode{BranchNode{tr: t, NodeType: NodeWith, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
github.com/google/safehtml/template
escape.go#L379: func (e *escaper) escapeBranch(c context, n *parse.BranchNode, nodeName string) context {
html/template
escape.go#L468: func (e *escaper) escapeBranch(c context, n *parse.BranchNode, nodeName string) context {
 |
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. |