Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enter_scope (0.12 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/utils.kt

    
    @OptIn(ExperimentalContracts::class)
    internal
    inline fun AnalysisContext.withScope(scope: AnalysisScope, action: () -> Unit) {
        contract {
            callsInPlace(action, InvocationKind.EXACTLY_ONCE)
        }
        enterScope(scope)
        try {
            action()
        } finally {
            leaveScope(scope)
        }
    }
    
    
    internal
    fun checkIsAssignable(valueType: DataType, isAssignableTo: DataType): Boolean = when (isAssignableTo) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/context.kt

        private
        val typeRefContext = SchemaTypeRefContext(schema)
    
        override fun resolveRef(dataTypeRef: DataTypeRef): DataType = typeRefContext.resolveRef(dataTypeRef)
    
        fun enterScope(newScope: AnalysisScope) {
            mutableScopes.add(newScope)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top