Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getCombinedMemberScope (0.2 sec)

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

        /**
         * Returns a [KaScope] containing all members from [getMemberScope] and [getStaticMemberScope].
         */
        public fun KaSymbolWithMembers.getCombinedMemberScope(): KaScope =
            withValidityAssertion { analysisSession.scopeProvider.getCombinedMemberScope(this) }
    
        /**
         * Returns a [KaScope] containing the *non-static* callables (functions, properties, and constructors) and inner classes explicitly
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/SymbolByFqName.kt

                if (declaredSymbols.isNotEmpty()) {
                    return declaredSymbols
                }
    
                // Fake overrides are absent in the declared member scope
                return classSymbol.getCombinedMemberScope()
                    .getCallableSymbols(callableId.callableName)
                    .filter { it.getContainingSymbol() == classSymbol }
                    .toList()
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            }
            return emptyList()
        }
    
        private fun KaSession.getCompositeCombinedMemberAndCompanionObjectScope(symbol: KaSymbolWithMembers): KaScope =
            listOfNotNull(
                symbol.getCombinedMemberScope(),
                getCompanionObjectMemberScope(symbol),
            ).asCompositeScope()
    
        private fun KaSession.getCompanionObjectMemberScope(symbol: KaSymbolWithMembers): KaScope? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top