type text/template/parse.ListNode
24 uses
text/template/parse (current package)
node.go#L81: type ListNode struct {
node.go#L88: func (t *Tree) newList(pos Pos) *ListNode {
node.go#L89: return &ListNode{tr: t, NodeType: NodeList, Pos: pos}
node.go#L92: func (l *ListNode) append(n Node) {
node.go#L96: func (l *ListNode) tree() *Tree {
node.go#L100: func (l *ListNode) String() string {
node.go#L106: func (l *ListNode) writeTo(sb *strings.Builder) {
node.go#L112: func (l *ListNode) CopyList() *ListNode {
node.go#L123: func (l *ListNode) Copy() Node {
node.go#L847: List *ListNode // What to execute if the value is non-empty.
node.go#L848: ElseList *ListNode // What to execute if the value is empty (nil if absent).
node.go#L904: func (t *Tree) newIf(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *IfNode {
node.go#L951: func (t *Tree) newRange(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *RangeNode {
node.go#L964: func (t *Tree) newWith(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *WithNode {
parse.go#L23: Root *ListNode // top-level root of the tree.
parse.go#L276: case *ListNode:
parse.go#L346: func (t *Tree) itemList() (list *ListNode, next Node) {
parse.go#L512: func (t *Tree) parseControl(allowElseIf bool, context string) (pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) {
text/template
exec.go#L272: case *parse.ListNode:
exec.go#L293: func (s *state) walkIfOrWith(typ parse.NodeType, dot reflect.Value, pipe *parse.PipeNode, list, elseList *parse.ListNode) {
html/template
escape.go#L149: case *parse.ListNode:
escape.go#L555: func (e *escaper) escapeList(c context, n *parse.ListNode) context {
escape.go#L572: func (e *escaper) escapeListConditionally(c context, n *parse.ListNode, filter func(*escaper, context) bool) (context, bool) {