Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FirBlock (0.48 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            firParent.accept(pathSearcher)
    
            return firStatements.map { unwrapLeaf(pathSearcher[it] ?: it) }
        }
    
        private fun unwrapLeaf(firLeaf: FirElement): FirElement {
            if (firLeaf is FirBlock && firLeaf.statements.size == 1) {
                val firStatement = firLeaf.statements[0]
                if (firStatement is FirExpression && firStatement.resolvedType == firLeaf.resolvedType) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

                    // K1 creates a fake expression in this case.
                    whenRef.value.subject?.findSourceKtExpressionForCallArgument()
                // FirBlock is a fake container for desugared expressions like `++index` or `++list[0]`
                is FirBlock -> psi as? KtExpression
                else -> realPsi as? KtExpression
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

        ): List<KaSymbol> {
            // Handle situation when we're in the middle/beginning of qualifier
            // <caret>A.B.C.foo() or A.<caret>B.C.foo()
            // NB: in this case we get some parent FIR, like FirBlock, FirProperty, FirFunction or the like
            var parent = expression.parent as? KtDotQualifiedExpression
            var unresolvedCounter = 1
            while (parent != null) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/codehost.go

    func RunWithStdin(ctx context.Context, dir string, stdin io.Reader, cmdline ...any) ([]byte, error) {
    	if dir != "" {
    		muIface, ok := dirLock.Load(dir)
    		if !ok {
    			muIface, _ = dirLock.LoadOrStore(dir, new(sync.Mutex))
    		}
    		mu := muIface.(*sync.Mutex)
    		mu.Lock()
    		defer mu.Unlock()
    	}
    
    	cmd := str.StringList(cmdline...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top