Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for element (0.17 sec)

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

         * @param fullFqName the whole fully qualified name of the KDoc
         * @param contextElement the context element in which the KDoc is defined
         *
         * @return the collection of KtSymbol(s) resolved from the fully qualified name
         *         based on the selected FqName and context element
         */
        internal fun resolveKdocFqName(
            analysisSession: KtAnalysisSession,
            selectedFqName: FqName,
    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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        if (analysisContext.builtIns.areSameArrayTypeIgnoringProjections(containingArrayType, constantType)) {
            // If an element in the array has the same type as the containing array, it's a spread component that needs
            // to be expanded here. (It should have the array element type instead.)
            (constantValue as ArrayValue).value.expandArrayAnnotationValue(containingArrayType, analysisContext)
        } else {
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                return mapping[fir]?.getOrNull()
            }
    
            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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

        override fun visitErrorElement(element: PsiErrorElement) {
            collectedDiagnostics += ConeSyntaxDiagnostic(element.errorDescription)
                .toFirDiagnostics(useSiteSession, KtRealPsiSourceElement(element), callOrAssignmentSource = null)
                .map { diagnosticConverter(it as KtPsiDiagnostic) }
    
            super.visitErrorElement(element)
        }
    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/KtSymbolByFirBuilder.kt

            private fun throwUnexpectedElementError(element: FirBasedSymbol<*>): Nothing {
                errorWithAttachment("Unexpected ${element::class.simpleName}") {
                    withFirSymbolEntry("firSymbol", element)
                }
            }
    
            private fun throwUnexpectedElementError(element: FirElement): Nothing {
                errorWithAttachment("Unexpected ${element::class.simpleName}") {
    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. .idea/inspectionProfiles/idea_default.xml

        <inspection_tool class="IncompatibleAPI" enabled="true" level="ERROR" enabled_by_default="true">
          <option name="problems">
            <list>
              <Problem reference="com.intellij.util.JdomKt#element" reason="Removed in 191" />
              <Problem reference="org.jetbrains.kotlin.idea.reporter.ITNReporterCompat#submit" reason="parentComponent is nullable in AS" />
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Nov 09 20:59:03 GMT 2023
    - 32.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                if (parent.referenceExpression !== this) return true
                parent = parent.parent
            }
            return false
        }
    
        internal fun adjustResolutionExpression(expression: KtElement): KtElement {
            // 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:
            //
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                    }
                }
                else -> throwUnexpectedFirElementError(fir, ktTypeReference)
            }
        }
    
        /**
         * Try to get fir element for type reference through symbols.
         * When the type is declared in compiled code this is faster than building FIR from decompiled text.
         */
        private fun KtTypeReference.getFirBySymbols(): FirElement? {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            )
        }
    
        private fun handleAsFunctionCall(context: BindingContext, element: KtElement): KtCallInfo? {
            return element.getResolvedCall(context)?.let { handleAsFunctionCall(context, element, it) }
        }
    
        private fun handleAsFunctionCall(
            context: BindingContext,
            element: KtElement,
            resolvedCall: ResolvedCall<*>,
            diagnostics: Diagnostics = context.diagnostics
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                }
            })
    
            file.accept(object : KtTreeVisitorVoid() {
                override fun visitElement(element: PsiElement) {
                    super.visitElement(element)
                    if (element is KDocLink) {
                        visitKDocLink(element)
                    }
                }
    
                private fun visitKDocLink(docLink: KDocLink) {
    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)
Back to top