Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BranchNode (0.27 sec)

  1. src/text/template/parse/node.go

    }
    
    func (e *elseNode) tree() *Tree {
    	return e.tr
    }
    
    func (e *elseNode) Copy() Node {
    	return e.tr.newElse(e.Pos, e.Line)
    }
    
    // BranchNode is the common representation of if, range, and with.
    type BranchNode struct {
    	NodeType
    	Pos
    	tr       *Tree
    	Line     int       // The line number in the input. Deprecated: Kept for compatibility.
    	Pipe     *PipeNode // The pipeline to be evaluated.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/html/template/escape.go

    	case *parse.IfNode:
    		return e.escapeBranch(c, &n.BranchNode, "if")
    	case *parse.ListNode:
    		return e.escapeList(c, n)
    	case *parse.RangeNode:
    		return e.escapeBranch(c, &n.BranchNode, "range")
    	case *parse.TemplateNode:
    		return e.escapeTemplate(c, n)
    	case *parse.TextNode:
    		return e.escapeText(c, n)
    	case *parse.WithNode:
    		return e.escapeBranch(c, &n.BranchNode, "with")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  3. api/go1.4.txt

    pkg text/template/parse, type DotNode struct, embedded NodeType
    pkg text/template/parse, type NilNode struct, embedded NodeType
    pkg text/template/parse, method (*BranchNode) Copy() Node
    pkg text/template/parse, method (*IdentifierNode) SetTree(*Tree) *IdentifierNode
    pkg html/template, type Error struct, Node parse.Node
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
Back to top