Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for called (0.24 sec)

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

            }
    
            if (owner is KtClassOrObject) {
                owner.primaryConstructor?.let { addAll(getSymbolsFromDeclaration(name, it)) }
            }
        }
    
        /**
         * Returns the [KtSymbol]s called [fqName] found in the member scope and companion object's member scope of the [KtDeclaration]s that
         * contain the [contextElement].
         *
    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/KtFirCompilerFacility.kt

            /**
             * This method is used from [org.jetbrains.kotlin.backend.jvm.lower.ReflectiveAccessLowering.visitCall]
             * (via generateReflectiveAccessForGetter) and it is called for the private access member lowered to the getter/setter call.
             * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            if (classLikeDeclaration is FirRegularClass) {
                if (calleeReference is FirResolvedNamedReference) {
                    val callee = calleeReference.resolvedSymbol.fir as? FirCallableDeclaration
                    // TODO: check callee owner directly?
                    if (callee !is FirConstructor && callee?.isStatic != true) {
                        classLikeDeclaration.companionObjectSymbol?.let { return it.fir.buildSymbol(symbolBuilder) }
    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/components/KtFirImportOptimizer.kt

                 * fun test() {
                 *   bar()
                 * }
                 * ```
                 *
                 * For the `bar()` call, `MyObject` instance is an implicit dispatch receiver.
                 *
                 * In such case, [FirQualifiedAccessExpression] representing the call references
                 * the original `Base.bar` callable symbol instead of `MyObject.bar`, because there are
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

     *
     * in which the `f` in 2) is regarded as used and `f` in 1) is not.
     */
    private fun doesCallExpressionUseCallee(callee: PsiElement): Boolean {
        return callee !is KtReferenceExpression ||
                analyze(callee) {
                    isSimpleVariableAccessCall(callee)
                }
    }
    
    /**
     * The body of setters are always used. The body of getters are only used if they are expression bodies.
     */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val firCall = ktCallElement.getOrBuildFir(firResolveSession)?.unwrapSafeCall() as? FirCall ?: return null
    
            val callee = (firCall.toReference(firResolveSession.useSiteFirSession) as? FirResolvedNamedReference)?.resolvedSymbol
            if (callee?.fir?.origin == FirDeclarationOrigin.SamConstructor) {
                val substitutor = (firCall as? FirQualifiedAccessExpression)
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

    import org.jetbrains.kotlin.resolve.calls.CallTransformer
    import org.jetbrains.kotlin.resolve.calls.components.isVararg
    import org.jetbrains.kotlin.resolve.calls.context.BasicCallResolutionContext
    import org.jetbrains.kotlin.resolve.calls.context.CheckArgumentTypesMode
    import org.jetbrains.kotlin.resolve.calls.context.ContextDependency
    import org.jetbrains.kotlin.resolve.calls.inference.model.TypeVariableTypeConstructor
    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