Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for jest (0.13 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt

                }
            else firFunctionSymbol.valueParameters[valueParameterReference.parameterIndex]
        )
    
        // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to.
        // This visitor isn't type-safe anyway
        private inline fun <reified T> ConeContractDescriptionElement.accept() =
            accept(this@ConeContractDescriptionElementToAnalysisApi, Unit) as T
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jul 26 14:29:20 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/CliFe10AnalysisFacade.kt

            ) {
                // there is no way to properly map KtModule to ModuleDescriptor,
                // Multi-module [KtFe10AnalysisHandlerExtension]s are used only for tests,
                // so just by name comparison should work as all module names are different
                return null
            }
    
            resolveSession = componentProvider.get()
            deprecationResolver = componentProvider.get()
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Jan 26 16:20:19 GMT 2024
    - 7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                     *   fun <T, E> foo(a: T, b: E) {}      // A
                     *   fun test() {
                     *     fun foo(a: Int, b: String) {}      // B
                     *     a.b.c.foo(3, "test")
                     *   }
                     *
                     * In the above code, we must prevent it from shortening `a.b.c.foo(3, "test")`. However, if we explicitly pass the type
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/contracts/descriptorContractUtils.kt

        ): T = constructor(variableReference.descriptor.toKtSymbol(analysisContext) as KtParameterSymbol)
    
        // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to.
        // This visitor isn't type-safe anyway
        private inline fun <reified T> ContractDescriptionElement.accept() = accept(this@ContractDescriptionElementToAnalysisApi, Unit) as T
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 01 13:42:49 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * a KDoc reference should be considered as legal and resolved, and false otherwise.
         *
         * This is **not** an actual type check, it is just an opinionated approximation.
         * The main guideline was K1 KDoc resolve.
         *
         * This check might change in the future, as Dokka team advances with KDoc rules.
         */
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    // Referenced ClassId and qualified access (from source PSI) could be not identical if an import alias is involved.
                    // E.g., test.pkg.R.string.hello v.s. coreR.string.hello where test.pkg.R is imported as coreR
                    // Since an import alias ends with a simple identifier (i.e., can't be non-trivial dotted qualifier), we can safely assume
    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)
  7. analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts

        implementation(project(":compiler:psi"))
    }
    
    application {
        mainClass.set("org.jetbrains.kotlin.analysis.api.fir.generator.MainKt")
    }
    
    sourceSets {
        "main" {
            projectDefault()
        }
        "test" {}
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Oct 18 18:42:40 GMT 2023
    - 1K bytes
    - Viewed (0)
  8. ReadMe.md

    After cloning the project, import the project in IntelliJ by choosing the project directory in the Open project dialog.
    
    For handy work with compiler tests it's recommended to use [
    Kotlin Compiler Test Helper](https://github.com/demiurg906/test-data-helper-plugin)
    
    ### Dependency verification
    
    We have a [dependencies verification](https://docs.gradle.org/current/userguide/dependency_verification.html) feature enabled in the
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

                            ?.asFqNameString()
                    }
                }
            }
        }
    
        // TODO this is a dummy and incorrect implementation just to satisfy some tests
        override fun getContainingModule(symbol: KtSymbol): KtModule {
            val descriptor = when (symbol) {
                is KtValueParameterSymbol -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 21 15:34:34 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

        }
    
        private fun inapplicableCandidateDiagnostic() = KtNonBoundToPsiErrorDiagnostic(null, "Inapplicable candidate", token)
    
        /**
         * Resolves call expressions like `Foo<Bar>` or `test.Foo<Bar>` in calls like `Foo<Bar>::foo`, `test.Foo<Bar>::foo` and class literals like `Foo<Bar>`::class.java.
         *
         * We have a separate [KtGenericTypeQualifier] type of [KtCall].
         */
    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