Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for inner (0.12 sec)

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

        /**
         * Returns true if the class symbol has a type parameter that is supposed to be provided for its parent class.
         *
         * Example:
         * class Outer<T> {
         *   inner class Inner // Inner has an implicit type parameter `T`.
         * }
         */
        private fun FirClassLikeSymbol<*>.hasTypeParameterFromParent(): Boolean = typeParameterSymbols.orEmpty().any {
            it.containingDeclarationSymbol != this
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

            STATIC,
    
            /**
             * A scope containing both non-static and static members. A smart combined scope (as opposed to a naive combination of [KtScope]s
             * with [getCompositeScope]) avoids duplicate inner classes, as they are contained in non-static and static scopes.
             *
             * A proper combined declared member scope kind also makes it easier to cache combined scopes directly (if needed).
             */
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.INNER_ON_TOP_LEVEL_SCRIPT_CLASS.errorFactory) { firDiagnostic ->
            InnerOnTopLevelScriptClassErrorImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.INNER_ON_TOP_LEVEL_SCRIPT_CLASS.warningFactory) { firDiagnostic ->
            InnerOnTopLevelScriptClassWarningImpl(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            for ((parameter, type) in typeArguments) {
                val ktParameter = typeParameters.getOrNull(parameter.index) ?: return emptyMap()
    
                // i.e. we were not able to infer some types
                if (type.contains { it: UnwrappedType -> it.constructor is TypeVariableTypeConstructor }) return emptyMap()
    
                result[ktParameter] = type.toKtType(analysisContext)
            }
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
Back to top