Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Kast (0.13 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

     * [CallableDescriptor.getOverriddenDescriptors] instead, which is separate from [CallableDescriptor.getOriginal].
     */
    @Suppress("UNCHECKED_CAST")
    private fun <T : CallableDescriptor> T.unwrapUseSiteSubstitutionOverride(): T {
        var current: CallableDescriptor = this
        while (original != current) {
            current = current.original
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * prefixed with a suitable extension receiver type (like in `Foo.bar`, or `foo.Foo.bar`).
         *
         * Relies on the fact that in such references only the last qualifier refers to the
         * actual extension callable, and the part before that refers to the receiver type (either fully
         * or partially qualified).
         *
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    // E.g., coreR.string.hello
                    //   -> string.hello (drop the first segment)
                    //   test.pkg.R.string.hello
                    //   -> string.hello (take last two segments, where the size is determined by the size of qualified access minus 1)
                    val fixedQualifiedAccessSegments = qualifiedAccessSegments.drop(1)
    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/KtFirDataFlowInfoProvider.kt

            val firValuedReturnExpressions = collector.firReturnExpressions.filter { !it.result.resolvedType.isUnit }
    
            val defaultStatement = statements.last()
            val firDefaultStatement = firStatements.last()
            val defaultExpressionInfo = computeDefaultExpression(defaultStatement, firDefaultStatement, firValuedReturnExpressions)
    
            val graphIndex = ControlFlowGraphIndex {
    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/KtSymbolByFirBuilder.kt

        inline fun <reified S : To> cache(key: From, calculation: () -> S): S {
            val value = cache.getOrPut(key, calculation)
            return value as? S
                ?: errorWithAttachment("Cannot cast ${value::class} to ${S::class}") {
                    withEntry("value", value.toString())
                }
        }
    }
    
    internal fun FirElement.buildSymbol(builder: KtSymbolByFirBuilder) =
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                val dependencyFiles = buildSet {
                    addAll(compilationPeerData.files)
                    addAll(codeFragmentMappings?.capturedFiles.orEmpty())
    
                    // The main file needs to be the last so caches for the context declarations are populated in FIR-to-IR.
                    remove(file)
                }
    
                addAll(dependencyFiles)
                add(file)
            }
    
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                    @Suppress("UNCHECKED_CAST")
                    diagnostic.a as Collection<ResolvedCall<*>>
                }
                in diagnosticWithResolvedCallsAtPosition2 -> {
                    require(diagnostic is DiagnosticWithParameters2<*, *, *>)
                    @Suppress("UNCHECKED_CAST")
                    diagnostic.b as Collection<ResolvedCall<*>>
                }
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

        ): FirLiteralExpression<*>? {
            if (value == null || other.value == null) return null
            // NB: some utils accept very general types, and due to the way operation map works, we should up-cast rhs type.
            val rightType = when {
                function.symbol.callableId.isStringEquals -> CompileTimeType.ANY
                function.symbol.callableId.isStringPlus -> CompileTimeType.ANY
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            val expandedType = type.coneType.fullyExpandedType(rootModuleSession)
            return when (this) {
                KtTypeMappingMode.DEFAULT -> TypeMappingMode.DEFAULT
                KtTypeMappingMode.DEFAULT_UAST -> TypeMappingMode.DEFAULT_UAST
                KtTypeMappingMode.GENERIC_ARGUMENT -> TypeMappingMode.GENERIC_ARGUMENT
                KtTypeMappingMode.SUPER_TYPE -> TypeMappingMode.SUPER_TYPE
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

         * two.
         *
         * Whether an expression is used is defined by the context in which it
         * appears. E.g. a "statement" in a block is considered used if it is the
         * last expression in that block AND the block itself is used -- a
         * recursive call to `isUsed`, one level higher in the syntax tree.
         *
         * The methods are _conservative_, erring on the side of answering `true`.
         */
    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)
Back to top