- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for We (0.16 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
// If we are at a super-type constructor call, adjust the resolution expression so that we // get the constructor instead of the class. // // For the example: // // class A { // constructor() // } // class B: <caret>A() //
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/analysis-api-fir-generator/build.gradle.kts
implementation(project(":analysis:analysis-api")) implementation(commonDependency("org.jetbrains.kotlin:kotlin-reflect")) { isTransitive = false } /* We do not need guava in the generator, but because of a bug in the IJ project importing, we need to have a dependency on intellijCore the same as it is in `:fir:tree:tree-generator` module to the project be imported correctly */ compileOnly(intellijCore())
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Oct 18 18:42:40 GMT 2023 - 1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt
* not necessarily the case for declaration providers (e.g. the IDE declaration provider hitting the index without caching). * * However, since symbol names providers may not be able to compute name sets per their contract, we may have to fall back to the * [declaration provider][org.jetbrains.kotlin.analysis.providers.KotlinDeclarationProvider]. *
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 23 10:55:55 GMT 2024 - 5.4K bytes - Viewed (0) -
ReadMe.md
For handy work with compiler tests it's recommended to use [ Kotlin Compiler Test Helper](https://github.com/demiurg906/test-data-helper-plugin) ### Dependency verification We have a [dependencies verification](https://docs.gradle.org/current/userguide/dependency_verification.html) feature enabled in the
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Apr 11 14:28:46 GMT 2024 - 8.7K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt
val bindingContext = analysisContext.analyze(typeReference, AnalysisMode.PARTIAL) val kotlinType = if (declaration is KtParameter && declaration.isVarArg) { // we want full Array<out T> type for parity with FIR implementation bindingContext[BindingContext.VALUE_PARAMETER, declaration]?.returnType } else {
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/KtFirImportOptimizer.kt
* Helper abstraction to navigate through qualified FIR elements - we have to match [ClassId] and PSI qualifier pair * to correctly reason about long qualifiers. */ 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. *
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
* fun usage(action: String.(Int) -> String) { * "hello".<expr>action</expr>(10) * } * ``` * * The user might want to know the type of the `action` callback. If we always return null for the named references, * we won't be able to handle this request, and just return null. So the user will only be able to see the type * of the whole expression instead, and that is not what he wants. */
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/components/KtFirPsiTypeProvider.kt
// Make sure we're not going to expand type argument over and over again. // 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
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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt
} } private fun KtCallInfo?.toKtCallCandidateInfos(bestCandidateDescriptors: Set<CallableDescriptor>): List<KtCallCandidateInfo> { // TODO: We should prefer to compare symbols instead of descriptors, but we can't do so while symbols are not cached. fun KtCall.isInBestCandidates(): Boolean { val descriptor = this.safeAs<KtFunctionCall<*>>()?.descriptor as? CallableDescriptor
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Apr 29 12:48:54 GMT 2024 - 34.8K 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)