Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

         *
         * This code handles some quirks of FIR sources and PSI:
         * - in `vararg args: String` declaration, `String` type reference has fake source, but `Array<String>` has real source
         * (see [KtFakeSourceElementKind.ArrayTypeFromVarargParameter]).
         * - if FIR reference points to the type with generic parameters (like `Foo<Bar>`), its source is not [KtTypeReference], but
         * [KtNameReferenceExpression].
         */
    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

        private fun FirExpression.findSourceKtExpressionForCallArgument(): KtExpression? {
            // For smart-casted expression, refer to the source of the original expression
            // For spread, named, and lambda arguments, the source is the KtValueArgument.
            // For other arguments (including array indices), the source is the KtExpression.
            return when (this) {
                is FirSamConversionExpression ->
    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