- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for syntacticIfNoFailures (0.31 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/parsingUtil.kt
1 -> currentFailures.single() else -> MultipleFailuresResult(currentFailures.flatMap { if (it is MultipleFailuresResult) it.failures else listOf(it as SingleFailureResult) }) } fun <T> syntacticIfNoFailures(evaluate: CheckBarrierContext.() -> SyntacticResult<T>): SyntacticResult<T> = when (currentFailures.size) { 0 -> evaluate(object : CheckBarrierContext {}) 1 -> currentFailures.single()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:53:44 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt
} collectingFailure(statements ?: tree.parsingError(node, "Lambda expression without statements")) syntacticIfNoFailures { val checkedStatements = statements!!.map { it.asBlockElement() } val b = Block(checkedStatements, tree.sourceData(block!!))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 22:06:18 UTC 2024 - 31.2K bytes - Viewed (0)