Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for parenthesize (0.18 sec)

  1. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.kt

    Anna Kozlova <******@****.***> 1717492092 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 127 bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.txt

    Anna Kozlova <******@****.***> 1717492092 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 342 bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeInfoProvider/AbstractIsDenotableTest.kt

                            // ```
                            // smart cast is available for `(@Denotable("...") a)` and not for `a` or `@Denotable("...") a`.
                            val ktType = if (parent != null && deparenthesize(parent.receiverExpression) == deparenthesize(base)) {
                                parent.receiverExpression.getKaType()
                            } else {
                                expression.getKaType()
                            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/components/KaAbstractResolver.kt

            val safeQualifiedExpression = parentOfType<KtSafeQualifiedExpression>() ?: return false
            return KtPsiUtil.deparenthesize(safeQualifiedExpression.receiverExpression) == KtPsiUtil.deparenthesize(this)
        }
    
        protected fun canBeResolvedAsCall(ktElement: KtElement): Boolean = when (ktElement) {
            is KtBinaryExpression -> ktElement.operationToken !in nonCallBinaryOperator
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

    import org.jetbrains.kotlin.KtNodeTypes.FUNCTION_LITERAL
    import org.jetbrains.kotlin.KtNodeTypes.LAMBDA_ARGUMENT
    import org.jetbrains.kotlin.KtNodeTypes.LAMBDA_EXPRESSION
    import org.jetbrains.kotlin.KtNodeTypes.PARENTHESIZED
    import org.jetbrains.kotlin.KtNodeTypes.SCRIPT
    import org.jetbrains.kotlin.com.intellij.lang.LighterASTNode
    import org.jetbrains.kotlin.com.intellij.lang.impl.PsiBuilderImpl
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/strconv/atoc.go

    // component. If the second N is unsigned, a + sign is required between the two components
    // as indicated by the ±. If the second N is NaN, only a + sign is accepted.
    // The form may be parenthesized and cannot contain any spaces.
    // The resulting complex number consists of the two components converted by ParseFloat.
    //
    // The errors that ParseComplex returns have concrete type [*NumError]
    // and include err.Num = s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/go/types/return.go

    		*ast.RangeStmt:
    		// no chance
    
    	case *ast.LabeledStmt:
    		return check.isTerminating(s.Stmt, s.Label.Name)
    
    	case *ast.ExprStmt:
    		// calling the predeclared (possibly parenthesized) panic() function is terminating
    		if call, ok := ast.Unparen(s.X).(*ast.CallExpr); ok && check.isPanic[call] {
    			return true
    		}
    
    	case *ast.ReturnStmt:
    		return true
    
    	case *ast.BranchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/return.go

    		*syntax.AssignStmt, *syntax.CallStmt:
    		// no chance
    
    	case *syntax.LabeledStmt:
    		return check.isTerminating(s.Stmt, s.Label.Value)
    
    	case *syntax.ExprStmt:
    		// calling the predeclared (possibly parenthesized) panic() function is terminating
    		if call, ok := syntax.Unparen(s.X).(*syntax.CallExpr); ok && check.isPanic[call] {
    			return true
    		}
    
    	case *syntax.ReturnStmt:
    		return true
    
    	case *syntax.BranchStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt

    ) : KaSmartCastProvider(), KaFirSessionComponent {
    
        private val KtExpression.isExplicitSmartCastInfoTarget: Boolean
            get() {
                // we want to handle only most top-level parenthesised expressions
                if (parent is KtParenthesizedExpression) return false
    
                // expressions like `|foo.bar()|` or `|foo?.baz()|` are ignored
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top