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#L850: List *ListNode // What to execute if the value is non-empty.
node.go#L851: ElseList *ListNode // What to execute if the value is empty (nil if absent).
node.go#L907: func (t *Tree) newIf(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *IfNode {
node.go#L954: func (t *Tree) newRange(pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) *RangeNode {
node.go#L967: 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#L278: case *ListNode:
parse.go#L350: func (t *Tree) itemList() (list *ListNode, next Node) {
parse.go#L524: func (t *Tree) parseControl(context string) (pos Pos, line int, pipe *PipeNode, list, elseList *ListNode) {
text/template
exec.go#L278: case *parse.ListNode:
exec.go#L299: func (s *state) walkIfOrWith(typ parse.NodeType, dot reflect.Value, pipe *parse.PipeNode, list, elseList *parse.ListNode) {
html/template
escape.go#L153: case *parse.ListNode:
escape.go#L571: func (e *escaper) escapeList(c context, n *parse.ListNode) context {
escape.go#L588: func (e *escaper) escapeListConditionally(c context, n *parse.ListNode, filter func(*escaper, context) bool) (context, bool) {