Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for We (0.12 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * we need to resolve the whole qualifier to understand which parts of the qualifier are package or class qualifiers.
         * And then we will be able to resolve the qualifier selected by the user to the proper class, package or callable.
         *
         * It's possible that the whole qualifier is invalid, in this case we still want to resolve our [selectedFqName].
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            }
            else -> arguments.any { typeProjection ->
                // A star projection type (lazily) built by type parameter will be yet another type with a star projection,
                // resulting in stack overflow if we keep checking allowed type parameter descriptors
                !typeProjection.isStarProjection &&
                        typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors)
            }
        }
    }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // If we are at a super-type constructor call, adjust the resolution expression so that we
            // get the constructor instead of the class.
            //
            // For the example:
            //
            // class A {
            //   constructor()
            // }
            // class B: <caret>A()
            //
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            /**
             * Not all expressions appear in the [ControlFlowGraph].
             * Still, if we find at least some of them, it's very unlikely that we will ever find a better graph.
             */
            val firCandidates = buildSet {
                fun addCandidate(firCandidate: FirElement) {
                    add(firCandidate)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                    val bindingContext = analysisContext.analyze(typeReference, AnalysisMode.PARTIAL)
                    val kotlinType =
                        if (declaration is KtParameter && declaration.isVarArg) {
                            // we want full Array<out T> type for parity with FIR implementation
                            bindingContext[BindingContext.VALUE_PARAMETER, declaration]?.returnType
                        } else {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                // to get the combined scope. A base declared member scope with Java enhancement doesn't exist, unfortunately.
                DeclaredMemberScopeKind.COMBINED -> {
                    // The static scope contains inner classes, so we need to exclude them from the non-static scope to avoid duplicates.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                if (hasParentPsi(symbol)) {
                    // getSymbol(ClassId) returns a symbol from the original file, so here we avoid using it
                    return getContainingDeclarationByPsi(symbol)
                }
            }
    
            when (symbol) {
                is KtLocalVariableSymbol,
                is KtAnonymousFunctionSymbol,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

            return originalDeclaration.takeIf { this.origin is FirDeclarationOrigin.SubstitutionOverride.CallSite }
        }
    
        /**
         * We want to unwrap a SUBSTITUTION_OVERRIDE wrapper if it doesn't affect the declaration's signature in any way. If the signature
         * is somehow changed, then we want to keep the wrapper.
         *
         * Such substitute overrides happen because of inheritance.
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

        }
    
        private fun ConeKotlinType.getDirectSuperTypes(shouldApproximate: Boolean): Sequence<ConeKotlinType> {
            return when (this) {
                // We also need to collect those on `upperBound` due to nullability.
                is ConeFlexibleType -> lowerBound.getDirectSuperTypes(shouldApproximate) + upperBound.getDirectSuperTypes(shouldApproximate)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                /**
                 * IR for code fragment is not fully correct until `patchCodeFragmentIr` is over.
                 * Because of that we run IR plugins manually after patching and don't pass any extension to fir2ir conversion in `runFir2Ir` method
                 */
                irGeneratorExtensions = emptyList()
            )
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
Back to top