Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for infix (0.06 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScope.kt

    /**
     * Specify the version of the plugin to depend on.
     *
     * Infix version of [PluginDependencySpec.version].
     */
    infix fun PluginDependencySpec.version(version: String?): PluginDependencySpec = version(version)
    
    
    /**
     * Specify the version of the plugin to depend on.
     *
     * Infix version of [PluginDependencySpec.version].
     *
     * @since 7.2
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/demoTypes.kt

        @get:Restricted
        var version: String = ""
    
        @get:HasDefaultValue
        var apply: Boolean = false
    
        @Builder
        infix fun version(value: String): PluginDefinition =
            apply { version = value }
    
        @Builder
        infix fun apply(value: Boolean): PluginDefinition =
            apply { apply = value }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/defaultValues/infixOperator.kt

    fun test(bar: String) {
        consume("foo" <expr>join</expr> bar)
    }
    
    infix fun String.join(other: String): String = this + other
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:53:11 UTC 2024
    - 157 bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/base/annotations/KtRendererAnnotationsFilter.kt

        public infix fun and(other: KaRendererAnnotationsFilter): KaRendererAnnotationsFilter =
            KaRendererAnnotationsFilter filter@{ annotation, owner ->
                val analysisSession = this@filter
                filter(analysisSession, annotation, owner) && other.filter(analysisSession, annotation, owner)
            }
    
        public infix fun or(other: KaRendererAnnotationsFilter): KaRendererAnnotationsFilter =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtKeywordsFilter.kt

    import org.jetbrains.kotlin.lexer.KtKeywordToken
    
    public interface KaRendererKeywordFilter {
        public fun filter(analysisSession: KaSession, modifier: KtKeywordToken, annotated: KaAnnotated): Boolean
    
        public infix fun and(other: KaRendererKeywordFilter): KaRendererKeywordFilter {
            val self = this
            return KaRendererKeywordFilter filter@{ modifier, kaAnnotated ->
                val analysisSession = this@filter
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

                if (operatorChanged) {
                    changes.add(modifierChangeDetail("operator", newIsOperator))
                }
                if (infixChanged) {
                    changes.add(modifierChangeDetail("infix", newIsInfix))
                }
                return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change"))
            }
    
            return null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/architecture/PackageDependencyRulesTest.kt

        }
    
        @Test
        fun `accessors should not depend on execution`() {
            "..accessors.." shouldNotDependOn "..kotlin.dsl.execution.."
        }
    
        private
        infix fun String.shouldNotDependOn(thatPackage: String) {
            noClasses()
                .that().resideInAPackage(this)
                .should().accessClassesThat().resideInAPackage(thatPackage)
                .check(classes)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/renderers/KtRendererOtherModifiersProvider.kt

    import org.jetbrains.kotlin.types.Variance
    
    public interface KaRendererOtherModifiersProvider {
        public fun getOtherModifiers(analysisSession: KaSession, symbol: KaDeclarationSymbol): List<KtModifierKeywordToken>
    
        public infix fun and(other: KaRendererOtherModifiersProvider): KaRendererOtherModifiersProvider {
            val self = this
            return object : KaRendererOtherModifiersProvider {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top