Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Clojure (0.14 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

        }
    
        public static void setChildren(Node element, Closure cl) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            leftShift(element, cl)
        }
    
        public static def leftShift(Node parent, Closure cl) {
            DomBuilder builder = new DomBuilder(parent)
            cl.delegate = builder
            cl.call()
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            TestDomainObject value1 = new TestDomainObject('a')
            TestDomainObject value2 = new TestDomainObject('a')
            repository.put('class1', value1)
            repository.put('class2', value2)
            Closure cl = Mock()
    
            when:
            repository.each(cl)
    
            then:
            1 * cl.call(['class1', value1] as Object[])
            1 * cl.call(['class2', value2] as Object[])
            0 * cl._
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    We do not introduce new public API methods that include Groovy types in their signatures.
    Existing Groovy methods will not be removed immediately.
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * If we would have used `Closure`, we must instead use `Action<T>`, `Spec<T>`, `Callable<T>`, or `Transformer<OUT, IN>`.
    * We need to ensure all APIs that are exposed in the Groovy DSL go through runtime decoration.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

            )
    
    
    private
    object SourceNames {
        const val javaClass = "java.lang.Class"
        const val groovyClosure = "groovy.lang.Closure"
        const val gradleAction = "org.gradle.api.Action"
        const val gradleTypeOf = "org.gradle.api.reflect.TypeOf"
        const val kotlinClass = "kotlin.reflect.KClass"
        const val kotlinArray = "kotlin.Array"
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
Back to top