Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for innerDsl (0.15 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/MultiSectionHandler.groovy

        @Override
        String generateSection(GradleDsl dsl) {
            if (sectionName) {
                def name = escapeSectionName(dsl)
                """${name} {
                ${innerDsl(dsl)}
            }
            """
            }
        }
    
        protected String innerDsl(GradleDsl dsl) {
            sections.collect { it.generateSection(dsl) }.join("\n            ")
        }
    
        private String escapeSectionName(GradleDsl dsl) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/polyglot/ConfigurationSpec.groovy

                case GradleDsl.KOTLIN:
                    def creation = isCreate.get()
                    def prefix =  creation ?"val $name by configurations.creating ":"${name}.run "
                    return """$prefix {
        ${innerDsl(dsl)}
    }"""
            }
    
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. test/fixedbugs/bug354.go

    // license that can be found in the LICENSE file.
    
    // issue 2086
    // was calling makeclosure twice on the closure
    
    package bug354
    
    type Inner struct {
    	F func() error
    }
    
    type Outer struct {
    	Inners []Inner
    }
    
    // calls makeclosure twice on same closure
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 434 bytes
    - Viewed (0)
  4. src/encoding/xml/typeinfo.go

    		for _, flag := range tokens[1:] {
    			switch flag {
    			case "attr":
    				finfo.flags |= fAttr
    			case "cdata":
    				finfo.flags |= fCDATA
    			case "chardata":
    				finfo.flags |= fCharData
    			case "innerxml":
    				finfo.flags |= fInnerXML
    			case "comment":
    				finfo.flags |= fComment
    			case "any":
    				finfo.flags |= fAny
    			case "omitempty":
    				finfo.flags |= fOmitEmpty
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
Back to top