- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for its (0.14 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt
get() = analysisSession.token override fun getKtExpressionType(expression: KtExpression): KtType? { // Not sure if it's safe enough. In theory, some annotations on expressions might change its type val unwrapped = expression.unwrapParenthesesLabelsAndAnnotations() as? KtExpression ?: return null if (unwrapped.getParentOfTypes(false, *NON_EXPRESSION_CONTAINERS) != null) { return 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/components/KtFirDataFlowInfoProvider.kt
} override fun visitElement(element: FirElement) { withElement(element) { if (element in statements) { // The leaf is in mapping, but its value is still 'null' mapping.computeIfAbsent(element) { _ -> unmappedCount -= 1
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/references/FirReferenceResolveHelper.kt
if (fir.resolvedToCompanionObject) { // this flag is true only when companion object is resolved through its containing class name, // so we want to drop companion object own name from the classId referencedClass.classId.outerClassId ?: return referencedSymbolsByFir
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/KtSymbolByFirBuilder.kt
* is somehow changed, then we want to keep the wrapper. * * Such substitute overrides happen because of inheritance. * * If the declaration references only its own type parameters, or parameters from the outer declarations, then * we consider that it's signature will not be changed by the SUBSTITUTION_OVERRIDE, so the wrapper can be unwrapped. *
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Mar 28 09:06:28 GMT 2024 - 32.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt
// Likewise, the file to compile may be contained in a "platform" multiplatform module, where the `actual` declaration is // referenced in the symbol table automatically, but not its `expect` counterpart, because it isn't contained in the files to // compile. `shouldReferenceUndiscoveredExpectSymbols` references such `expect` symbols in the symbol table so that they can
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/KtFirExpressionInfoProvider.kt
// Binary expressions with type RHS always use its operand. is KtBinaryExpressionWithTypeRHS -> parent.left == child // Is expressions always use their LHS. is KtIsExpression -> parent.leftHandSide == child // Unary expressions always use its operand. is KtUnaryExpression ->
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Feb 12 20:38:23 GMT 2024 - 17.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
* Expected type of the indexing parameter in array access, for example, in the following code: * ``` * val map = mapOf<Int, String>() * map[k] = v * ``` * `k` is indexing parameter and its expected type is `Int`. */ private fun getExpectedTypeOfIndexingParameter(expression: PsiElement): KtType? {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 24.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
// } } // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int. // After computing the compile time constant, we need to adjust its type here. val expression = if (expectedKind != null && expectedKind != kind && value is Number) { val typeAdjustedValue = expectedKind.convertToNumber(value as Number)!!
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 20 14:53:27 GMT 2024 - 16.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
// If so, i.e., if there is a recursive type argument, return the current, non-null [type] // to prevent the following [substituteTypeOr*] from proceeding to its own (recursive) substitution. if (type.hasRecursiveTypeArgument()) return type // Return `null` means we will use [fir.resolve.substitution.Substitutors]'s [substituteRecursive]
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 12 13:29:57 GMT 2024 - 18.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
*/ private sealed interface TypeQualifier { val referencedClassId: ClassId /** * Type can be imported with alias, and thus can be referenced by the name different from its actual name. * * We cannot use [ClassId.getShortClassName] for this, since it is not affected by the alias. */ val referencedByName: Name /**
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 24.2K bytes - Viewed (0)