Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for wang (0.21 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * And then we will be able to resolve the qualifier selected by the user to the proper class, package or callable.
         *
         * It's possible that the whole qualifier is invalid, in this case we still want to resolve our [selectedFqName].
         * To do this, we are trying to resolve the whole qualifier until we succeed.
         *
         * @param selectedFqName the selected fully qualified name of the KDoc
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         *
         * N.B. Even if the [wholeQualifierElement] is not strictly in the [selection],
         * some outer part of it might be, and we want to shorten that.
         * So we have to check all the outer qualifiers.
         */
        private fun findClassifierQualifierToShorten(
            wholeQualifierClassId: ClassId,
            wholeQualifierElement: KtElement,
    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/references/FirReferenceResolveHelper.kt

            //
            // For the example:
            //
            // class A {
            //   constructor()
            // }
            // class B: <caret>A()
            //
            // We want to resolve to the secondary constructor in A. Therefore, we check that the caret is at a supertype
            // call entry and if so we resolve the constructor callee expression.
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

    import org.jetbrains.kotlin.fir.utils.exceptions.withFirEntry
    import org.jetbrains.kotlin.name.*
    import org.jetbrains.kotlin.utils.addToStdlib.ifNotEmpty
    import org.jetbrains.kotlin.utils.exceptions.checkWithAttachment
    import java.lang.annotation.ElementType
    
    internal fun mapAnnotationParameters(annotation: FirAnnotation): Map<Name, FirExpression> {
        if (annotation is FirAnnotationCall && annotation.arguments.isEmpty()) return emptyMap()
    
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

            return originalDeclaration.takeIf { this.origin is FirDeclarationOrigin.SubstitutionOverride.CallSite }
        }
    
        /**
         * We want to unwrap a SUBSTITUTION_OVERRIDE wrapper if it doesn't affect the declaration's signature in any way. If the signature
         * is somehow changed, then we want to keep the wrapper.
         *
         * Such substitute overrides happen because of inheritance.
         *
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

            originalFile: KtFile,
            positionInFakeFile: KtElement
        ): KtScopeContext {
            val fakeFile = positionInFakeFile.containingKtFile
    
            // If the position is in KDoc, we want to pass the owning declaration to the ContextCollector.
            // That way, the resulting scope will contain all the nested declarations which can be references by KDoc.
            val parentKDoc = positionInFakeFile.parentOfType<KDoc>()
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

         * provided, an empty map is returned defensively so that [toTypeArgumentsMapping] doesn't conjure any error types. If you want to map
         * too few type arguments meaningfully, please provide filler types explicitly.
         */
        private fun toTypeArgumentsMapping(
            typeArguments: List<FirTypeProjection>,
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                firSymbolBuilder.typeBuilder.buildKtType(firDiagnostic.a),
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirJvmErrors.ILLEGAL_JAVA_LANG_RECORD_SUPERTYPE) { firDiagnostic ->
            IllegalJavaLangRecordSupertypeImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

    import org.jetbrains.kotlin.platform.has
    import org.jetbrains.kotlin.platform.jvm.JvmPlatform
    import org.jetbrains.kotlin.types.*
    import org.jetbrains.kotlin.types.model.SimpleTypeMarker
    import java.lang.UnsupportedOperationException
    import java.text.StringCharacterIterator
    
    internal class KtFe10PsiTypeProvider(
        override val analysisSession: KtFe10AnalysisSession
    ) : KtPsiTypeProvider(), Fe10KtAnalysisSessionComponent {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fir.components
    
    import com.intellij.lang.java.JavaLanguage
    import com.intellij.psi.*
    import com.intellij.psi.impl.cache.TypeInfo
    import com.intellij.psi.impl.compiled.ClsTypeElementImpl
    import com.intellij.psi.impl.compiled.SignatureParsing
    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)
Back to top