- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for val (0.15 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
descriptor: CallableMemberDescriptor, overriddenDescriptor: CallableMemberDescriptor ): Boolean { val containingClass = (descriptor.containingDeclaration as? ClassifierDescriptorWithTypeParameters) val typeParametersFromOuterClass = buildList { containingClass?.let { collectTypeParameters(it) } } val allowedTypeParameters = (overriddenDescriptor.typeParameters + typeParametersFromOuterClass).toSet()
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
//ensure file context is provided for "non-physical" code as well val contextDeclarationOrSelf = PsiTreeUtil.getContextOfType(contextElement, KtDeclaration::class.java, false) ?: contextElement val containingFile = contextDeclarationOrSelf.containingKtFile val packageFqName = containingFile.packageFqName val packageSymbol = getPackageSymbolIfPackageExists(packageFqName) ?: return emptyList()
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) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt
val elementToAnalyze = positionInFakeFile.containingNonLocalDeclaration() ?: originalFile val bindingContext = analysisContext.analyze(elementToAnalyze) val scopeKind = KtScopeKind.LocalScope(0) // TODO val lexicalScope = positionInFakeFile.getResolutionScope(bindingContext) if (lexicalScope != null) {
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 12.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt
is SimpleType -> { when (val typeConstructor = unwrappedType.constructor) { is NewTypeVariableConstructor -> renderTypeVariableType(typeConstructor, printer) is IntersectionTypeConstructor -> renderIntersectionType(typeConstructor, printer) else -> { val descriptor = unwrappedType.constructor.declarationDescriptor
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 10.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
private data class TypeArgumentMapping( val owner: ClassifierDescriptorWithTypeParameters, val mapping: Map<TypeParameterDescriptor, BoundTypeArgument> ) private data class BoundTypeArgument(val type: KotlinType, val variance: Variance) private data class BoundTypeArguments(val upper: MutableSet<KotlinType>, val lower: MutableSet<KotlinType>, val isCompatible: Boolean)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 29 09:37:59 GMT 2024 - 23.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt
} val bindingContext = analysisContext.analyze(unwrapped, AnalysisMode.PARTIAL) val smartCastType = when (val smartCastType = bindingContext[BindingContext.SMARTCAST, expression]) { is SingleSmartCast -> smartCastType.type is MultipleSmartCasts -> intersectWrappedTypes(smartCastType.map.values) else -> null }
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Tue Oct 24 20:59:56 GMT 2023 - 15.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
} private fun ConeKotlinType.toTargetSymbol(session: FirSession, symbolBuilder: KtSymbolByFirBuilder): KtSymbol? { val type = this as? ConeLookupTagBasedType val resolvedSymbol = type?.lookupTag?.toSymbol(session) as? FirBasedSymbol<*> val symbol = resolvedSymbol ?: run { val diagnostic = (this as? ConeErrorType)?.diagnostic (diagnostic as? ConeUnmatchedTypeArgumentsError)?.symbol }
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt
configuration: CompilerConfiguration, ): CodeFragmentMappings { val codeFragment = mainFirFile.codeFragment val capturedData = CodeFragmentCapturedValueAnalyzer.analyze(resolveSession, codeFragment) val capturedSymbols = capturedData.symbols val capturedValues = capturedSymbols.map { it.value } val injectedSymbols = capturedSymbols.map {
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt
import org.jetbrains.kotlin.utils.exceptions.errorWithAttachment import org.jetbrains.kotlin.utils.exceptions.withPsiEntry internal class KtFirScopeProvider( override val analysisSession: KtFirAnalysisSession, private val builder: KtSymbolByFirBuilder, private val firResolveSession: LLFirResolveSession, ) : KtScopeProvider() { private fun getScopeSession(): ScopeSession {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 18.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
override fun getImplicitReceiverTypesAtPosition(position: KtElement): List<KtType> { val ktFile = position.containingKtFile val firFile = ktFile.getOrBuildFirFile(firResolveSession) val fileSession = firFile.llFirSession val sessionHolder = SessionHolderImpl(fileSession, fileSession.getScopeSession()) val context = ContextCollector.process(firFile, sessionHolder, position)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Feb 20 08:50:04 GMT 2024 - 16.3K bytes - Viewed (0)