Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        }?.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
         *         ;
         *         companion object {
         *             const val K = 1
         *         }
         *     }
         */
    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/KtFirExpressionTypeProvider.kt

            val valueArgument = unwrapQualified<KtValueArgument> { valueArg, expr ->
                // If `valueArg` is [KtLambdaArgument], its [getArgumentExpression] could be labeled expression (e.g., l@{ ... }).
                // That is not exactly `expr`, which would be [KtLambdaExpression]. So, we need [unwrap] here.
                valueArg.getArgumentExpression()?.unwrap() == expr
            } ?: return null
            val callExpression =
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

            var representativePsi: KtElement? = null
            val flattenedVarargs = buildList {
                for (expr in this@convertVarargsExpression) {
                    val converted = expr.convertConstantExpression(builder) ?: continue
    
                    if ((expr is FirSpreadArgumentExpression || expr is FirNamedArgumentExpression) && converted is KtArrayAnnotationValue) {
                        addAll(converted.values)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            if (!PsiTreeUtil.isAncestor(defaultStatementFromFir, defaultStatement, false)) {
                // In certain cases, expressions might be different in PSI and FIR sources.
                // E.g., in 'foo.<expr>bar()</expr>', there is no FIR expression that corresponds to the 'bar()' KtCallExpression.
                return null
            }
    
            return firDefaultStatement.resolvedType
        }
    
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                // fun x(c: Char) {}
                // fun call(x: kotlin.Int) {
                //   operator fun Int.invoke(a: Int) {}
                //   operator fun Int.invoke(b: Boolean) {}
                //   <expr>x()</expr>
                // }
                // ```
                // The candidates for the call will both be `invoke`. We can keep it simple by getting the name from the callee reference's PSI
    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)
  6. .idea/dictionaries/igor.xml

    <component name="ProjectDictionaryState">
      <dictionary name="igor">
        <words>
          <w>addr</w>
          <w>descr</w>
          <w>exprs</w>
          <w>voidification</w>
          <w>voidifier</w>
          <w>voidify</w>
        </words>
      </dictionary>
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Sep 16 17:24:44 GMT 2021
    - 249 bytes
    - Viewed (0)
Back to top