Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ginney (0.42 sec)

  1. 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
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                stack.addLast(element)
                try {
                    block()
                } finally {
                    stack.removeLast()
                }
            }
        }
    
        private inner class FirElementCollector : FirDefaultVisitorVoid() {
            val hasJumps: Boolean
                get() = firReturnTargets.isNotEmpty() || firLoopJumpTargets.isNotEmpty()
    
            val hasMultipleJumpKinds: Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

            }
        }
    
        inner class AnonymousInitializerBuilder {
            fun buildClassInitializer(firSymbol: FirAnonymousInitializerSymbol): KaClassInitializerSymbol {
                return symbolsCache.cache(firSymbol) { KaFirClassInitializerSymbol(firSymbol, analysisSession) }
            }
        }
    
        inner class TypeBuilder {
            fun buildKtType(coneType: ConeKotlinType): KaType {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt

         *
         * ```kotlin
         * abstract class A {
         *     class C1
         *     inner class D1
         *     object O1
         *
         *     // There is no way to declare a static callable in an abstract class, as only enum classes define additional static callables.
         * }
         *
         * class B : A() {
         *     class C2
         *     inner class D2
         *     object O2
         *     companion object {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. 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)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. 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 [KaScope]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).
             */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt

        private class KtClassFileViewProvider(
            psiManager: PsiManager,
            virtualFile: VirtualFile,
        ) : SingleRootFileViewProvider(psiManager, virtualFile, true, KotlinLanguage.INSTANCE)
    
        private inner class KtDeclarationRecorder : KtVisitorVoid() {
    
            override fun visitElement(element: PsiElement) {
                element.acceptChildren(this)
            }
    
            override fun visitKtFile(file: KtFile) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top