Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NodeDot (0.23 sec)

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

    	tr *Tree
    }
    
    func (t *Tree) newDot(pos Pos) *DotNode {
    	return &DotNode{tr: t, NodeType: NodeDot, Pos: pos}
    }
    
    func (d *DotNode) Type() NodeType {
    	// Override method on embedded NodeType for API compatibility.
    	// TODO: Not really a problem; could change API without effect but
    	// api tool complains.
    	return NodeDot
    }
    
    func (d *DotNode) String() string {
    	return "."
    }
    
    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/text/template/parse/parse.go

    		t.errorf("missing value for %s", context)
    	}
    	// Only the first command of a pipeline can start with a non executable operand
    	for i, c := range pipe.Cmds[1:] {
    		switch c.Args[0].Type() {
    		case NodeBool, NodeDot, NodeNil, NodeNumber, NodeString:
    			// With A|B|C, pipeline stage 2 is B
    			t.errorf("non executable command in pipeline stage %d", i+2)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NodeBool", Const, 0},
    		{"NodeBreak", Const, 18},
    		{"NodeChain", Const, 1},
    		{"NodeCommand", Const, 0},
    		{"NodeComment", Const, 16},
    		{"NodeContinue", Const, 18},
    		{"NodeDot", Const, 0},
    		{"NodeField", Const, 0},
    		{"NodeIdentifier", Const, 0},
    		{"NodeIf", Const, 0},
    		{"NodeList", Const, 0},
    		{"NodeNil", Const, 1},
    		{"NodeNumber", Const, 0},
    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.txt

    pkg text/template/parse, const NodeAction NodeType
    pkg text/template/parse, const NodeBool NodeType
    pkg text/template/parse, const NodeCommand NodeType
    pkg text/template/parse, const NodeDot NodeType
    pkg text/template/parse, const NodeField NodeType
    pkg text/template/parse, const NodeIdentifier NodeType
    pkg text/template/parse, const NodeIf NodeType
    pkg text/template/parse, const NodeList 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)
  5. api/go1.1.txt

    pkg text/template/parse, const NodeBool = 2
    pkg text/template/parse, const NodeChain = 3
    pkg text/template/parse, const NodeChain NodeType
    pkg text/template/parse, const NodeCommand = 4
    pkg text/template/parse, const NodeDot = 5
    pkg text/template/parse, const NodeField = 8
    pkg text/template/parse, const NodeIdentifier = 9
    pkg text/template/parse, const NodeIf = 10
    pkg text/template/parse, const NodeList = 11
    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