- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for enter_scope (0.28 sec)
-
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) -
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)