Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for wrapping (0.2 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

         * is (FirCheckedSafeCallSubject)[org.jetbrains.kotlin.fir.expressions.FirCheckedSafeCallSubject] which requires additional unwrapping
         * to be used for call resolution.
         */
        private fun findReceiverFirExpression(receiverExpression: KtExpression): FirExpression? {
            if (receiverExpression is KtStatementExpression) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            if (availableClassifiers.map { it.scope }.hasScopeCloserThan(scopeForClass, element)) return false
    
            /**
             * If we have a property with the same name, avoid dropping qualifiers makes it reference a property with the same name e.g.,
             *    package my.component
             *    class foo { .. }  // A
             *    ..
             *    fun test() {
             *      val foo = ..    // B
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

        if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap()
    
        checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) {
            withFirEntry("annotation", annotation)
            withClassEntry("annotationTypeRef", annotation.annotationTypeRef)
            @OptIn(UnresolvedExpressionTypeAccess::class)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                if (fir != null) {
                    collectedMappings.putIfAbsent(fir, declaration)
                }
            }
        }
    }
    
    private class IrDeclarationPatchingVisitor(private val mapping: Map<FirDeclaration, IrDeclaration>) : IrElementVisitorVoid {
        override fun visitElement(element: IrElement) {
            element.acceptChildrenVoid(this)
        }
    
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

        }
    
        /**
         * Maps [typeArguments] to the type parameters of [partiallyAppliedSymbol].
         *
         * If too many type arguments are provided, a mapping is still created. Extra type arguments are simply ignored. If this wasn't the
         * case, the resulting [KtCall] would contain no type arguments at all, which can cause problems later. If too few type arguments are
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top