Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NodeAction (0.23 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/xml/XmlTransformerTest.groovy

        }
    
        def "can chain node actions"() {
            Action<XmlProvider> nodeAction = Mock()
            Action<XmlProvider> nodeAction2 = Mock()
            transformer.addAction(nodeAction)
            transformer.addAction(nodeAction2)
    
            when:
            def result = transformer.transform('<root/>')
    
            then:
            nodeAction.execute(_) >> { XmlProvider provider ->
                provider.asNode().appendNode('child1')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 15 08:16:06 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/config/param/template.go

    		out.Merge(getParams(n.(*parse.IfNode).Pipe))
    	case parse.NodeWith:
    		out.Merge(getParams(n.(*parse.WithNode).Pipe))
    	case parse.NodeRange:
    		out.Merge(getParams(n.(*parse.RangeNode).Pipe))
    	case parse.NodeAction:
    		out.Merge(getParams(n.(*parse.ActionNode).Pipe))
    	case parse.NodeCommand:
    		for _, arg := range n.(*parse.CommandNode).Args {
    			out.Merge(getParams(arg))
    		}
    	case parse.NodePipe:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 15 21:32:48 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/text/template/parse/node.go

    // for embedding in a Node. Embedded in all non-trivial Nodes.
    func (t NodeType) Type() NodeType {
    	return t
    }
    
    const (
    	NodeText       NodeType = iota // Plain text.
    	NodeAction                     // A non-control action such as a field evaluation.
    	NodeBool                       // A boolean constant.
    	NodeChain                      // A sequence of field accesses.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            registry.configure(role) {
                it.path path
                if (role.subjectViewAvailable) {
                    it.type type
                    if (viewAction != null) {
                        it.action viewAction
                    } else {
                        it.node nodeAction
                    }
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Mode", Type, 16},
    		{"New", Func, 0},
    		{"NewIdentifier", Func, 0},
    		{"NilNode", Type, 1},
    		{"NilNode.NodeType", Field, 4},
    		{"NilNode.Pos", Field, 1},
    		{"Node", Type, 0},
    		{"NodeAction", Const, 0},
    		{"NodeBool", Const, 0},
    		{"NodeBreak", Const, 18},
    		{"NodeChain", Const, 1},
    		{"NodeCommand", Const, 0},
    		{"NodeComment", Const, 16},
    		{"NodeContinue", Const, 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)
  6. api/go1.txt

    pkg text/template, type FuncMap map[string]interface{}
    pkg text/template, type Template struct
    pkg text/template, type Template struct, embedded *parse.Tree
    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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  7. api/go1.1.txt

    pkg text/tabwriter, const StripEscape = 2
    pkg text/tabwriter, const TabIndent = 16
    pkg text/template, method (Template) ErrorContext(parse.Node) (string, string)
    pkg text/template/parse, const NodeAction = 1
    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
    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