Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for handler (0.16 sec)

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

            expression: KtSimpleNameExpression,
            analysisSession: KtFirAnalysisSession,
            session: FirSession,
            symbolBuilder: KtSymbolByFirBuilder
        ): List<KtSymbol> {
            // Handle situation when we're in the middle/beginning of qualifier
            // <caret>A.B.C.foo() or A.<caret>B.C.foo()
            // NB: in this case we get some parent FIR, like FirBlock, FirProperty, FirFunction or the like
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            return kotlinType.toKtType(analysisContext)
        }
    
        override fun getReturnTypeForKtDeclaration(declaration: KtDeclaration): KtType {
            // Handle callable declarations with explicit return type first
            if (declaration is KtCallableDeclaration) {
                val typeReference = declaration.typeReference
    
                if (typeReference != null) {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

            }
        }
    
        /**
         * Returns a declared member scope which contains both static and non-static callables, as well as all classifiers. Java classes need to
         * be handled specially, because [declaredMemberScope] doesn't handle Java enhancement properly.
         */
        private fun getCombinedFirKotlinDeclaredMemberScope(symbolWithMembers: KtSymbolWithMembers): FirContainingNamesAwareScope {
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                    val operatorCall = binaryExpression.getResolvedCall(context) ?: return null
                    resolvedCalls += operatorCall
                    // This method only handles compound assignment. Other cases like `plusAssign`, `rangeTo`, `contains` are handled by plain
                    // `handleAsFunctionCall`
                    if (operatorCall.resultingDescriptor.name !in operatorWithAssignmentVariant) return null
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

     * and the argument, are compile-time constant as well.
     */
    internal object FirCompileTimeConstantEvaluator {
        // TODO: Handle boolean operators, class reference, array, annotation values, etc.
        fun evaluate(
            fir: FirElement?,
            mode: KtConstantEvaluationMode,
        ): FirLiteralExpression<*>? =
            when (fir) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

         *   "hello".<expr>action</expr>(10)
         * }
         * ```
         *
         * The user might want to know the type of the `action` callback. If we always return null for the named references,
         * we won't be able to handle this request, and just return null. So the user will only be able to see the type
         * of the whole expression instead, and that is not what he wants.
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
Back to top