Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for inner (0.39 sec)

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

            }
        }
    
        inner class AnonymousInitializerBuilder {
            fun buildClassInitializer(firSymbol: FirAnonymousInitializerSymbol): KtClassInitializerSymbol {
                return symbolsCache.cache(firSymbol) { KtFirClassInitializerSymbol(firSymbol, analysisSession) }
            }
        }
    
        inner class TypeBuilder {
            fun buildKtType(coneType: ConeKotlinType): KtType {
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

     */
    private fun doesDoubleColonUseLHS(lhs: PsiElement): Boolean {
        val reference = when (val inner = lhs.unwrapParenthesesLabelsAndAnnotations()) {
            is KtReferenceExpression ->
                inner.mainReference
            is KtDotQualifiedExpression ->
                (inner.selectorExpression as? KtReferenceExpression)?.mainReference ?: return true
            else ->
                return true
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

        /**
         * @return How many qualifiers needs to be dropped from [wholeType] to get [nestedType].
         *
         * Example: to get `foo.bar` from `foo.bar.Baz.Inner`, you need to drop 2 qualifiers (`Inner` and `Baz`).
         */
        private fun countQualifiersToDrop(wholeType: KtUserType, nestedType: KtUserType): Int {
            val qualifierIndex = generateSequence(wholeType) { it.qualifier }.indexOf(nestedType)
    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/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)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiNamedClassOrObjectSymbol.kt

            bindingContext[BindingContext.CLASS, psi]
        }
    
        override val isInner: Boolean
            get() = withValidityAssertion { psi.hasModifier(KtTokens.INNER_KEYWORD) }
    
        override val isData: Boolean
            get() = withValidityAssertion { psi.hasModifier(KtTokens.DATA_KEYWORD) }
    
        override val isInline: Boolean
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. 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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt

     *
     * Inner classes are included because they are accessible from a value of the outer class. For example:
     *
     * ```
     * class Outer {
     *     inner class Inner
     * }
     *
     * fun foo() {
     *     val outer = Outer()
     *     outer.Inner()
     * }
     * ```
     *
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  8. .idea/inspectionProfiles/idea_default.xml

              <value>
                <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
                <option name="REQUIRED_TAGS" value="" />
              </value>
            </option>
            <option name="INNER_CLASS_OPTIONS">
              <value>
                <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
                <option name="REQUIRED_TAGS" value="" />
              </value>
            </option>
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Nov 09 20:59:03 GMT 2023
    - 32.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirJavaDeclaredMembersOnlyScope.kt

            // We have to filter out classes from supertypes because the base scope might be a use-site scope that provides inner classes from
            // supertypes.
            delegate.processClassifiersByNameWithSubstitution(name) { classifier, substitutor ->
                if (classifier is FirRegularClassSymbol && classifier.fir.isDeclared()) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  10. 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 Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 14 06:10:31 GMT 2024
    - 36.4K bytes
    - Viewed (0)
Back to top