Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isExpression (0.22 sec)

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

    import org.gradle.internal.declarativedsl.parsing.FailureCollectorContext.CheckedResult
    import org.jetbrains.kotlin.ElementTypeUtils.getOperationSymbol
    import org.jetbrains.kotlin.ElementTypeUtils.isExpression
    import org.jetbrains.kotlin.KtNodeTypes.ANNOTATED_EXPRESSION
    import org.jetbrains.kotlin.KtNodeTypes.ANNOTATION_ENTRY
    import org.jetbrains.kotlin.KtNodeTypes.ARRAY_ACCESS_EXPRESSION
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

        }
    
        private fun getExpectedTypeByIfExpression(expression: PsiElement): KaType? {
            val ifExpression = expression.unwrapQualified<KtIfExpression> { ifExpression, currentExpression ->
                currentExpression == ifExpression.then || currentExpression == ifExpression.`else`
            } ?: return null
            getExpectedType(ifExpression)?.let { return it }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                task "dynamic"(type: TestTask) { property = 'value' }
                ext.v = task(asExpression, type: TestTask) { property = 'value' }
                task(postConfigure, type: TestTask).configure { property = 'value' }
                [asStatement, dynamic, asExpression, postConfigure].each {
                    assert 'value' == it.property
                }
                [withDescription, asMethod].each {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top