type text/template/parse.BranchNode
12 uses
text/template/parse (current package)
node.go#L844: type BranchNode struct {
node.go#L854: func (b *BranchNode) String() string {
node.go#L860: func (b *BranchNode) writeTo(sb *strings.Builder) {
node.go#L885: func (b *BranchNode) tree() *Tree {
node.go#L889: func (b *BranchNode) Copy() Node {
node.go#L904: BranchNode
node.go#L908: return &IfNode{BranchNode{tr: t, NodeType: NodeIf, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L951: BranchNode
node.go#L955: return &RangeNode{BranchNode{tr: t, NodeType: NodeRange, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
node.go#L964: BranchNode
node.go#L968: return &WithNode{BranchNode{tr: t, NodeType: NodeWith, Pos: pos, Line: line, Pipe: pipe, List: list, ElseList: elseList}}
html/template
escape.go#L508: func (e *escaper) escapeBranch(c context, n *parse.BranchNode, nodeName string) context {