Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for BranchNode (0.38 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. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"BoolNode.NodeType", Field, 0},
    		{"BoolNode.Pos", Field, 1},
    		{"BoolNode.True", Field, 0},
    		{"BranchNode", Type, 0},
    		{"BranchNode.ElseList", Field, 0},
    		{"BranchNode.Line", Field, 0},
    		{"BranchNode.List", Field, 0},
    		{"BranchNode.NodeType", Field, 0},
    		{"BranchNode.Pipe", Field, 0},
    		{"BranchNode.Pos", Field, 1},
    		{"BreakNode", Type, 18},
    		{"BreakNode.Line", Field, 18},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  4. 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)
  5. api/go1.txt

    pkg text/template/parse, type BranchNode struct
    pkg text/template/parse, type BranchNode struct, ElseList *ListNode
    pkg text/template/parse, type BranchNode struct, Line int
    pkg text/template/parse, type BranchNode struct, List *ListNode
    pkg text/template/parse, type BranchNode struct, Pipe *PipeNode
    pkg text/template/parse, type BranchNode struct, embedded NodeType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg text/template/parse, method (*Tree) ErrorContext(Node) (string, string)
    pkg text/template/parse, method (ActionNode) Position() Pos
    pkg text/template/parse, method (BoolNode) Position() Pos
    pkg text/template/parse, method (BranchNode) Position() Pos
    pkg text/template/parse, method (ChainNode) Position() Pos
    pkg text/template/parse, method (ChainNode) Type() NodeType
    pkg text/template/parse, method (CommandNode) Position() Pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top