Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Lannon (0.15 sec)

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

            val elementContext = ContextCollector.process(firFakeFile, sessionHolder, nameExpression, bodyElement = null)
    
            val towerDataContext = elementContext?.towerDataContext
                ?: errorWithAttachment("Cannot find enclosing declaration for ${nameExpression::class}") {
                    withPsiEntry("fakeNameExpression", nameExpression)
                }
    
            return buildList {
    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

     * imports, the symbol from "smaller" kind is used. For example, an explicitly imported symbol can overwrite a star-imported symbol.
     */
    private enum class ImportKind {
        /** The symbol is available from the local scope and hence cannot be imported or overwritten. */
        LOCAL,
    
        /** Explicitly imported by user. */
        EXPLICIT,
    
        /** Implicitly imported from package. */
        PACKAGE,
    
    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/KDocReferenceResolver.kt

         * For a similar function in the `intellij` repository, see `isPossiblySubTypeOf`.
         */
        private fun KtAnalysisSession.isPossiblySuperTypeOf(type: KtType, actualReceiverType: KtType): Boolean {
            // Type parameters cannot act as receiver types in KDoc
            if (actualReceiverType is KtTypeParameterType) return false
    
            if (type is KtTypeParameterType) {
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            val selectedName = resolvedImport.importedName ?: return emptyList()
            return buildList {
                if (selectedFqName == fullFqName) {
                    // callables cannot be used as receiver expressions in imports
                    scope.processFunctionsByName(selectedName) { add(it.fir.buildSymbol(builder)) }
                    scope.processPropertiesByName(selectedName) { add(it.fir.buildSymbol(builder)) }
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

                token,
            )
        }
        add(FirErrors.VALUE_CLASS_CANNOT_IMPLEMENT_INTERFACE_BY_DELEGATION) { firDiagnostic ->
            ValueClassCannotImplementInterfaceByDelegationImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.VALUE_CLASS_CANNOT_EXTEND_CLASSES) { firDiagnostic ->
            ValueClassCannotExtendClassesImpl(
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                    withSymbolAttachment("symbolForContainingPsi", analysisSession, symbol)
                }
    
            if (source.kind != KtRealSourceElementKind) {
                errorWithAttachment("Cannot compute containing PSI for unknown source kind '${source.kind}' (${psi::class.simpleName})") {
                    withSymbolAttachment("symbolForContainingPsi", analysisSession, symbol)
                }
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                    is ConeTypeVariableType -> {
                        val diagnostic = when ( val typeParameter = coneType.typeConstructor.originalTypeParameter) {
                            null -> ConeSimpleDiagnostic("Cannot infer parameter type for ${coneType.typeConstructor.debugName}")
                            else -> ConeCannotInferTypeParameterType((typeParameter as ConeTypeParameterLookupTag).typeParameterSymbol)
                        }
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

        }
    
        private fun getControlFlowGraph(anchor: KtElement, firStatements: List<FirElement>): ControlFlowGraph {
            return findControlFlowGraph(anchor, firStatements)
                ?: errorWithAttachment("Cannot find a control flow graph for element") {
                    withKtModuleEntry("module", analysisSession.useSiteModule)
                    withPsiEntry("anchor", anchor)
                    withFirEntry("firAnchor", firStatements.last())
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                correctedPosition,
            )
    
            val towerDataContext =
                context?.towerDataContext
                    ?: errorWithAttachment("Cannot find context for ${positionInFakeFile::class}") {
                        withPsiEntry("positionInFakeFile", positionInFakeFile)
                    }
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                if (this !is FirNamedReference) return null
    
                // In most cases, we can get the callee name from the callee's candidate symbols. However, there is at least one case where we
                // cannot do so:
                // ```
                // fun x(c: Char) {}
                // fun call(x: kotlin.Int) {
                //   operator fun Int.invoke(a: Int) {}
                //   operator fun Int.invoke(b: Boolean) {}
    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