Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for an (0.13 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescEnumEntrySymbol.kt

        override val name: Name
            get() = withValidityAssertion { descriptor.name }
    
        // There doesn't seem to be a way to determine if `descriptor` has a body or not, so we return an initializer even for enum entries
        // without a body.
        override val enumEntryInitializer: KtEnumEntryInitializerSymbol?
            get() = this
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSession.kt

                    firResolveSession.getSessionFor(dependency).llResolveExtensionTool
                }
            }
    
            val shadowedScope = GlobalSearchScope.union(
                buildSet {
                    // Add an empty scope to the shadowed set to give GlobalSearchScope.union something
                    // to work with if there are no extension tools.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 18 10:43:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        val constantType = constantValue.getType(analysisContext.resolveSession.moduleDescriptor)
        if (analysisContext.builtIns.areSameArrayTypeIgnoringProjections(containingArrayType, constantType)) {
            // If an element in the array has the same type as the containing array, it's a spread component that needs
            // to be expanded here. (It should have the array element type instead.)
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * a KDoc reference should be considered as legal and resolved, and false otherwise.
         *
         * This is **not** an actual type check, it is just an opinionated approximation.
         * The main guideline was K1 KDoc resolve.
         *
         * This check might change in the future, as Dokka team advances with KDoc rules.
         */
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                classInNestedClass = classInNestedClass.findClassOrObjectParent()
            }
            return null
        }
    
    
        /**
         * An enum class to specify the distance of scopes from an element as a partial order
         *
         * Example:
         *   import ... // scope1  FirExplicitSimpleImportingScope - enum entry: ExplicitSimpleImporting
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                // for cases like `Foo.Bar()`, where `Foo.Bar` is an object, and `Foo.Bar()` is a call to `invoke` operator
                is KtSimpleNameExpression -> psi.getQualifiedElement()
                else -> psi
            }
            if (fullQualifiedAccess !is KtDotQualifiedExpression) return referencedSymbolsByFir
    
    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)
  7. ReadMe.md

    # Kotlin Programming Language
    
    Welcome to [Kotlin](https://kotlinlang.org/)!   
    It is an open-source, statically typed programming language supported and developed by [JetBrains](https://www.jetbrains.com/) and open-source contributors.
    
    Some handy links:
    
     * [Kotlin Site](https://kotlinlang.org/)
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            }
    
            if (this is FirImplicitInvokeCall) {
    
                // If we have a PSI expression like `Foo.Bar.Baz()` and try to resolve `Bar` part,
                // and the only FIR that we have for that PSI is an implicit invoke call, that means that
                // `Foo.Bar` is definitely not a property access - otherwise it would have had its own FIR.
                // So, it does not make sense to try to resolve such parts of qualifiers as KtCall
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firSymbolBuilder.typeBuilder.buildKtType(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.CREATING_AN_INSTANCE_OF_ABSTRACT_CLASS) { firDiagnostic ->
            CreatingAnInstanceOfAbstractClassImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
    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)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescNamedClassOrObjectSymbol.kt

        @OptIn(KtAnalysisApiInternals::class)
        override val classKind: KtClassKind
            get() = withValidityAssertion {
                if (DescriptorUtils.isAnonymousObject(descriptor)) {
                    error("Should be an anonymous object")
                }
                descriptor.kind.toKtClassKind(isCompanionObject = descriptor.isCompanionObject)
            }
    
        override val superTypes: List<KtType>
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 4.7K bytes
    - Viewed (0)
Back to top