- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getFirstChildExpressionUnwrapped (0.24 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt
internal fun FlyweightCapableTreeStructure<LighterASTNode>.getFirstChildExpressionUnwrapped(node: LighterASTNode): LighterASTNode? { val firstChild = children(node).firstOrNull { it: LighterASTNode -> it.isExpression() } ?: return null return if (firstChild.tokenType == PARENTHESIZED) { getFirstChildExpressionUnwrapped(firstChild) } else { firstChild } } internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:09 UTC 2024 - 7.3K bytes - Viewed (0)