- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for if (0.26 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
else -> { if (isDynamic()) { return KtSymbolOrigin.JS_DYNAMIC } } } } val sourceElement = this.toSourceElement if (sourceElement is JavaSourceElement) { return KtSymbolOrigin.JAVA } val psi = sourceElement.getPsi() if (psi != null) { if (psi.language != KotlinLanguage.INSTANCE) {
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
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/utils/KtFe10DebugTypeRenderer.kt
else -> { val descriptor = unwrappedType.constructor.declarationDescriptor if (descriptor is TypeParameterDescriptor) { renderTypeParameterType(descriptor, printer) } else if (descriptor is ClassifierDescriptorWithTypeParameters) { renderOrdinaryType(unwrappedType, printer) } else {
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/KtFe10ScopeProvider.kt
getContributedVariables(name, NoLookupLocation.FROM_IDE).isNotEmpty() } } override fun getClassifierNames(): Set<Name>? { if (forDelegatedMembersOnly) return null return allMemberScope.getClassifierNames()?.filterTo(mutableSetOf()) { name -> getContributedClassifier(name, NoLookupLocation.FROM_IDE) != 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/components/KtFe10ExpressionTypeProvider.kt
// Handle callable declarations with explicit return type first if (declaration is KtCallableDeclaration) { val typeReference = declaration.typeReference if (typeReference != null) { val bindingContext = analysisContext.analyze(typeReference, AnalysisMode.PARTIAL) val kotlinType = if (declaration is KtParameter && declaration.isVarArg) {
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
): KtSymbol? { val classLikeDeclaration = this.toSymbol(session)?.fir if (classLikeDeclaration is FirRegularClass) { if (calleeReference is FirResolvedNamedReference) { val callee = calleeReference.resolvedSymbol.fir as? FirCallableDeclaration // TODO: check callee owner directly? if (callee !is FirConstructor && callee?.isStatic != true) {
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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
val fe10Type = type.fe10Type if (!KotlinBuiltIns.isArrayOrPrimitiveArray(fe10Type)) return null val arrayElementType = fe10Type.builtIns.getArrayElementType(fe10Type) return arrayElementType.toKtType(analysisContext) } private fun areTypesCompatible(a: KotlinType, b: KotlinType): 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-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
} } } /** * Returns `true` if the control graph contains at least one of the [firCandidates]. */ private fun ControlFlowGraph.contains(firCandidates: Set<FirElement>): Boolean { for (node in nodes) { if (node.fir in firCandidates) { return true }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 16 06:40:43 GMT 2024 - 22.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
} if (isOrdinarySymbolWithSource(symbol)) { val result = psi.getContainingPsiDeclaration() if (result == null) { val containingFile = psi.containingFile if (containingFile is KtCodeFragment) { // All content inside a code fragment is implicitly local, but there is no non-local parent return null }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 13.5K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt
return if (nullable) { nullableTypeMapping[kClass] ?: typeMapping[kClass] } else { typeMapping[kClass] } } private fun tryMapAllowedType(kClass: KClass<*>): HLParameterConversion? { if (kClass in allowedTypesWithoutTypeParams) return HLIdParameterConversion return null }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Nov 06 14:41:18 GMT 2023 - 16.6K bytes - Viewed (0)