Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for parenthesize (0.17 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KaFe10Resolver.kt

            if (!canBeResolvedAsCall(psi)) return null
    
            val parentBinaryExpression = psi.parentOfType<KtBinaryExpression>()
            val lhs = KtPsiUtil.deparenthesize(parentBinaryExpression?.left)
            val unwrappedPsi = KtPsiUtil.deparenthesize(psi as? KtExpression) ?: psi
    
            if (parentBinaryExpression != null &&
                parentBinaryExpression.operationToken == KtTokens.EQ &&
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. src/go/types/assignments.go

    // that identifier. The result is nil if it is the blank identifier,
    // and Typ[Invalid] if it is an invalid lhs expression.
    func (check *Checker) lhsVar(lhs ast.Expr) Type {
    	// Determine if the lhs is a (possibly parenthesized) identifier.
    	ident, _ := ast.Unparen(lhs).(*ast.Ident)
    
    	// Don't evaluate lhs if it is the blank identifier.
    	if ident != nil && ident.Name == "_" {
    		check.recordDef(ident, nil)
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

    import org.jetbrains.kotlin.psi.KtExpression
    import org.jetbrains.kotlin.psi.KtOperationReferenceExpression
    import org.jetbrains.kotlin.psi.psiUtil.parentsWithSelf
    import org.jetbrains.kotlin.psi2ir.deparenthesize
    import org.jetbrains.kotlin.utils.exceptions.errorWithAttachment
    import org.jetbrains.kotlin.utils.exceptions.withPsiEntry
    import java.util.Optional
    import kotlin.jvm.optionals.getOrNull
    import kotlin.math.sign
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api.go

    // be incomplete.
    type Info struct {
    	// Types maps expressions to their types, and for constant
    	// expressions, also their values. Invalid expressions are
    	// omitted.
    	//
    	// For (possibly parenthesized) identifiers denoting built-in
    	// functions, the recorded signatures are call-site specific:
    	// if the call result is not a constant, the recorded type is
    	// an argument-specific signature. Otherwise, the recorded type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  5. src/fmt/doc.go

    and %#g is 6; for %g it is the smallest number of digits necessary to identify
    the value uniquely.
    
    For complex numbers, the width and precision apply to the two
    components independently and the result is parenthesized, so %f applied
    to 1.2+3.4i produces (1.200000+3.400000i).
    
    When formatting a single integer code point or a rune string (type []rune)
    with %q, invalid Unicode code points are changed to the Unicode replacement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/go/types/api.go

    // be incomplete.
    type Info struct {
    	// Types maps expressions to their types, and for constant
    	// expressions, also their values. Invalid expressions are
    	// omitted.
    	//
    	// For (possibly parenthesized) identifiers denoting built-in
    	// functions, the recorded signatures are call-site specific:
    	// if the call result is not a constant, the recorded type is
    	// an argument-specific signature. Otherwise, the recorded type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/dataFlowInfoProvider/FirIdeDependentAnalysisSourceModuleExitPointSnapshotTestGenerated.java

        }
    
        @Test
        @TestMetadata("parenthesis.kt")
        public void testParenthesis() {
          runTest("analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.kt");
        }
    
        @Nested
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/assignments.go

    // that identifier. The result is nil if it is the blank identifier,
    // and Typ[Invalid] if it is an invalid lhs expression.
    func (check *Checker) lhsVar(lhs syntax.Expr) Type {
    	// Determine if the lhs is a (possibly parenthesized) identifier.
    	ident, _ := syntax.Unparen(lhs).(*syntax.Name)
    
    	// Don't evaluate lhs if it is the blank identifier.
    	if ident != nil && ident.Value == "_" {
    		check.recordDef(ident, nil)
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/dataFlowInfoProvider/FirIdeNormalAnalysisSourceModuleExitPointSnapshotTestGenerated.java

        }
    
        @Test
        @TestMetadata("parenthesis.kt")
        public void testParenthesis() {
          runTest("analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.kt");
        }
    
        @Nested
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/dataFlowInfoProvider/FirStandaloneNormalAnalysisSourceModuleExitPointSnapshotTestGenerated.java

        }
    
        @Test
        @TestMetadata("parenthesis.kt")
        public void testParenthesis() {
          runTest("analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.kt");
        }
    
        @Nested
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top