type text/template/parse.BranchNode
12 uses
text/template/parse (current package)
node.go#L841: type BranchNode struct {
node.go#L851: func (b *BranchNode) String() string {
node.go#L857: func (b *BranchNode) writeTo(sb *strings.Builder) {
node.go#L882: func (b *BranchNode) tree() *Tree {
node.go#L886: func (b *BranchNode) Copy() Node {
node.go#L901: BranchNode
node.go#L905: return &IfNode{BranchNode{tr: t, NodeType: NodeIf, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L948: BranchNode
node.go#L952: return &RangeNode{BranchNode{tr: t, NodeType: NodeRange, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L961: BranchNode
node.go#L965: return &WithNode{BranchNode{tr: t, NodeType: NodeWith, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
html/template
escape.go#L492: func (e *escaper) escapeBranch(c context, n *parse.BranchNode, nodeName string) context {