Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for members (0.14 sec)

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

        private fun List<OverloadCandidate>.findScopeForSymbol(symbol: FirBasedSymbol<*>): FirScope? = firstOrNull {
            it.candidate.symbol == symbol
        }?.candidate?.originScope
    
        /**
         * Returns whether a member of companion is used to initialize the enum entry or not. For example,
         *     enum class C(val i: Int) {
         *         ONE(<expr>C.K</expr>)  // C.ONE uses C.K for initialization
         *         ;
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                isImplicitInvoke = true
    
                // For implicit invoke, the explicit receiver is always set in FIR and this receiver is the variable or property that has
                // the `invoke` member function. In this case, we use the `calleeExpression` in the `KtCallExpression` as the PSI
                // representation of this receiver. Caller can then use this PSI for further call resolution, which is implemented by the
    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