Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for Assignment (0.18 sec)

  1. platforms/core-configuration/declarative-dsl-evaluator/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/conventions/ConventionsResolutionProcessor.kt

     */
    internal
    object ConventionsResolutionProcessor {
        fun process(resolutionResult: ResolutionResult): Map<String, SoftwareTypeConventionResolutionResults> {
            val assignments = resolutionResult.assignments.groupBy { assignment ->
                getSoftwareType(assignment.lhs.receiverObject).function.simpleName
            }
            val additions = resolutionResult.additions.groupBy { addition ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue67547.go

    }
    
    func _[P struct{ x int }]() {
    	var x struct{ x int }
    	type A = P
    	var _ A = x // assignment must be valid
    }
    
    func _[P struct{ x int }]() {
    	type A = P
    	var x A
    	var _ struct{ x int } = x // assignment must be valid
    }
    
    func _[P []int | struct{}]() {
    	type A = []int
    	var a A
    	var p P
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaSimpleVariableAccess.kt

        public object Read : KaSimpleVariableAccess()
    
        public class Write(
            /**
             * [KtExpression] that represents the new value that should be assigned to this variable. Or null if the assignment is incomplete
             * and misses the new value.
             */
            public val value: KtExpression?,
        ) : KaSimpleVariableAccess()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 705 bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentResolver.kt

                            } else {
                                // We should never come across a situation where an assignment already exists that is in a higher generation,
                                // but if we do, just pull the emergency stop handle as this is indicative of a bug rather than a user error.
                                error("Unexpected assignment in higher generation")
                            }
                        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/conventions/conventions.kt

    import org.gradle.plugin.software.internal.Convention
    import org.gradle.plugin.software.internal.ConventionReceiver
    
    
    /**
     * A convention that applies a property assignment operation (e.g. foo = "bar").
     */
    class AssignmentRecordConvention(private val assignmentRecord: AssignmentRecord) :
        Convention<AssignmentRecordConventionReceiver> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-plugins/build.gradle.kts

        compileOnly(libs.inject)
    
        implementation(libs.kotlinStdlib)
        implementation(libs.futureKotlin("gradle-plugin"))
        implementation(libs.futureKotlin("sam-with-receiver"))
        implementation(libs.futureKotlin("assignment"))
    
        testImplementation(projects.logging)
        testImplementation(testFixtures(project(":kotlin-dsl")))
        testImplementation(libs.slf4jApi)
        testImplementation(libs.mockitoKotlin)
    }
    
    packageCycles {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 22:44:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/go/ast/commentmap.go

    //
    // NewCommentMap tries to associate a comment group to the "largest"
    // node possible: For instance, if the comment is a line comment
    // trailing an assignment, the comment is associated with the entire
    // assignment rather than just the last operand in the assignment.
    func NewCommentMap(fset *token.FileSet, node Node, comments []*CommentGroup) CommentMap {
    	if len(comments) == 0 {
    		return nil // no comments to map
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java

            if (type.getRawClass().getSuperclass() == null && type.getRawClass().getInterfaces().length == 0) {
                return type.toString();
            }
            return type + " (or assignment compatible type thereof)";
        }
    
        @Override
        public String toString() {
            return getClass().getSimpleName() + "[" + type + "]";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

        val syntacticEnclosure: LanguageTreeElement
    
        fun findLocal(name: String): LocalValueAssignment?
    }
    
    
    data class LocalValueAssignment(val localValue: LocalValue, val assignment: ObjectOrigin)
    
    
    class AnalysisScope(
        private val previousScopeView: AnalysisScopeView?,
        override val receiver: ObjectOrigin.ReceiverOrigin,
        override val syntacticEnclosure: LanguageTreeElement
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/language/LanguageTree.kt

    
    data class FunctionCall(val receiver: Expr?, val name: String, val args: List<FunctionArgument>, override val sourceData: SourceData) : Expr
    
    
    data class Assignment(val lhs: PropertyAccess, val rhs: Expr, override val sourceData: SourceData) : DataStatement
    
    
    data class LocalValue(val name: String, val rhs: Expr, override val sourceData: SourceData) : DataStatement
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top