Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for top (0.13 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

            get() = analysisSession.token
    
        override fun getContainingDeclaration(symbol: KtSymbol): KtDeclarationSymbol? {
            if (symbol is KtSymbolWithKind && symbol.symbolKind == KtSymbolKind.TOP_LEVEL) {
                return null
            }
    
            return when (symbol) {
                is KtBackingFieldSymbol -> symbol.owningProperty
                is KtPropertyAccessorSymbol -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 21 15:34:34 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

    import org.jetbrains.kotlin.fir.resolve.providers.symbolProvider
    import org.jetbrains.kotlin.name.FqName
    import org.jetbrains.kotlin.name.Name
    import org.jetbrains.kotlin.platform.jvm.isJvm
    
    /**
     * Provides top-level names for classifiers and callables in given packages. Apart from names found in sources and binaries,
     * [DeclarationsInPackageProvider] also collects names for classifiers and callables generated by
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/base/KtFe10PsiSymbolUtils.kt

                return KtSymbolKind.ACCESSOR
            }
    
            if (this is KtDeclaration) {
                return when (this.getParentOfType<KtDeclaration>(strict = true)) {
                    null -> KtSymbolKind.TOP_LEVEL
                    is KtCallableDeclaration, is KtPropertyAccessor -> KtSymbolKind.LOCAL
                    else -> KtSymbolKind.CLASS_MEMBER
                }
            }
    
            return KtSymbolKind.LOCAL
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Nov 11 10:59:55 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                        // If the receiver is not a KtDotQualifiedExpression, it means we are hitting the end of nested receivers. In other
                        // words, this receiver expression should be pointing at a top-level package now.
                        if (receiverExpression == expression) {
                            return listOfNotNull(symbolBuilder.createPackageSymbolIfOneExists(parentPackageFqName))
                        } else {
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirVisibilityChecker.kt

         * Kotlin. They cover the most popular visibilities `private`, `public`, and default (package) visibility for top-level and nested
         * classes.
         *
         * Returns `null` if visibility cannot be decided by the heuristic.
         */
        private fun KtFirPsiJavaClassSymbol.isVisibleByPsi(useSiteFile: KtFirFileSymbol): Boolean? {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jan 05 16:04:14 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            val jvmGeneratorExtensions = object : JvmGeneratorExtensionsImpl(configuration) {
                override fun getContainerSource(descriptor: DeclarationDescriptor): DeserializedContainerSource? {
                    // Stubbed top-level function IR symbols (from other source files in the module) require a parent facade class to be
                    // generated, which requires a container source to be provided. Without a facade class, function IR symbols will have
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                                        this += classFqName
                                    }
                                } else if (fqName != qualifiedNameAsFqName) {
                                    // or some kind of top level declaration with potential receiver
                                    this += fqName
                                    val receiverClassType = symbol.receiverParameter?.type as? KtNonErrorClassType
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                // and are never considered used as expressions
                is KtUserType ->
                    false
    
                // Only top-level named declarations have KtFile/KtScript Parents, and are never considered used
                is KtFile ->
                    false
                is KtScript ->
                    false
    
    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)
  9. .idea/inspectionProfiles/idea_default.xml

        </inspection_tool>
        <inspection_tool class="JavaDoc" enabled="true" level="WARNING" enabled_by_default="false">
          <scope name="IDEA Test Sources" level="WARNING" enabled="false">
            <option name="TOP_LEVEL_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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSmartcastProvider.kt

        override val token: KtLifetimeToken,
    ) : KtSmartCastProvider(), KtFirAnalysisSessionComponent {
    
        private val KtExpression.isExplicitSmartCastInfoTarget: Boolean
            get() {
                // we want to handle only most top-level parenthesised expressions
                if (parent is KtParenthesizedExpression) return false
    
                // expressions like `|foo.bar()|` or `|foo?.baz()|` are ignored
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Sep 14 10:03:02 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top