Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for element (0.15 sec)

  1. 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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KotlinFirReferenceContributor.kt

                registerProvider provider@{ element: KtValueArgument ->
                    if (element.isNamed()) return@provider null
                    val annotationEntry = element.getParentOfTypeAndBranch<KtAnnotationEntry> { valueArgumentList } ?: return@provider null
                    if (annotationEntry.valueArguments.size != 1) return@provider null
    
                    KtDefaultAnnotationArgumentReference(element)
                }
            }
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 10 16:23:23 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirKDocReference.kt

    import org.jetbrains.kotlin.kdoc.psi.impl.KDocName
    
    internal class KtFirKDocReference(element: KDocName) : KDocReference(element), KtFirReference {
        override fun KtAnalysisSession.resolveToSymbols(): Collection<KtSymbol> {
            val fullFqName = generateSequence(element) { it.parent as? KDocName }.last().getQualifiedNameAsFqName()
            val selectedFqName = element.getQualifiedNameAsFqName()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

        }
    
        private inline fun <R> wrapError(element: KtElement, action: () -> R): R {
            return try {
                action()
            } catch (e: Exception) {
                rethrowExceptionWithDetails(
                    "Error during resolving call ${element::class}",
                    exception = e,
                ) {
                    withPsiEntry("psi", element, analysisSession::getModule)
    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)
  5. architecture/build-state-model.md

    ## Composition by architecture modules
    
    Each [architecture module and platform](platforms.md) can contribute code to any of the elements.
    Not every module contributes to every element.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun May 05 22:45:11 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                collector.typesToShorten.distinctBy { it.element }.map { TypeToShortenInfo(it.element.createSmartPointer(), it.shortenedRef) },
                collector.qualifiersToShorten.distinctBy { it.element }.map { QualifierToShortenInfo(it.element.createSmartPointer(), it.shortenedRef) },
                collector.labelsToShorten.distinctBy { it.element }.map { ThisLabelToShortenInfo(it.element.createSmartPointer()) },
    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)
  7. 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)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          }
        }
    
        override fun put(element: T) {
          taskRunner.lock.withLock {
            delegate.put(element)
            editCount++
          }
        }
    
        override fun iterator() = error("unsupported")
    
        override fun offer(e: T) = error("unsupported")
    
        override fun peek(): T = error("unsupported")
    
        override fun offer(
          element: T,
          timeout: Long,
          unit: TimeUnit,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top