Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 34 of 34 for pointsToTheSameSymbolAs (0.27 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/KtFirTopLevelCallableSymbolPointer.kt

        }
    
        protected abstract fun KaFirSession.chooseCandidateAndCreateSymbol(
            candidates: Collection<FirCallableSymbol<*>>,
            firSession: FirSession
        ): S?
    
        abstract override fun pointsToTheSameSymbolAs(other: KaSymbolPointer<KaSymbol>): Boolean
        protected fun hasTheSameOwner(other: KaTopLevelCallableSymbolPointer<*>): Boolean = other.callableId == callableId
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescFunctionLikeSymbolPointer.kt

                .filterIsInstance<CallableMemberDescriptor>()
                .firstOrNull { it.getSymbolPointerSignature() == signature }
                ?.toKtCallableSymbol(analysisContext) as? T
        }
    
        override fun pointsToTheSameSymbolAs(other: KaSymbolPointer<KaSymbol>): Boolean = this === other ||
                other is KaFe10DescFunctionLikeSymbolPointer &&
                other.callableId == callableId &&
                other.signature == signature
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/pointers/KtSymbolPointer.kt

        /**
         * @return **true** if [other] pointer can be restored to the same symbol. The operation is symmetric and transitive.
         */
        public open fun pointsToTheSameSymbolAs(other: KaSymbolPointer<KaSymbol>): Boolean = this === other
    
        override fun toString(): String = renderAsDataClassToString()
    }
    
    public typealias KtSymbolPointer<S> = KaSymbolPointer<S>
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/pointers/KtPsiBasedSymbolPointer.kt

                    }
                }
            }
    
            if (!expectedClass.isInstance(symbol)) return null
    
            @Suppress("UNCHECKED_CAST")
            return symbol as S
        }
    
        override fun pointsToTheSameSymbolAs(other: KaSymbolPointer<KaSymbol>): Boolean = this === other ||
                other is KaPsiBasedSymbolPointer &&
                other.expectedClass == expectedClass &&
                other.psiPointer == psiPointer
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top