Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for KtCodeFragment (0.13 sec)

  1. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinForeignValueProviderService.kt

    import org.jetbrains.kotlin.analysis.api.platform.KotlinOptionalPlatformComponent
    import org.jetbrains.kotlin.psi.KtCodeFragment
    
    public interface KotlinForeignValueProviderService : KotlinOptionalPlatformComponent {
        public fun getForeignValues(codeFragment: KtCodeFragment): Map<String, String>
    
        public companion object {
            public fun getInstance(): KotlinForeignValueProviderService? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 867 bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompilerFacility.kt

         * Compile the given [file] in-memory (without dumping the compiled binaries to a disk).
         *
         * @param file A file to compile.
         *  The file must be either a source module file, or a [KtCodeFragment].
         *  For a [KtCodeFragment], a source module context, a compiled library source context, or an empty context(`null`) are supported.
         *
         * @param configuration Compiler configuration.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

            file: KtFile,
            configuration: CompilerConfiguration,
            target: KaCompilerTarget,
            allowedErrorFilter: (KaDiagnostic) -> Boolean
        ): KaCompilationResult {
            if (file is KtCodeFragment) {
                throw UnsupportedOperationException("Code fragments are not supported in K1 implementation")
            }
    
            val classBuilderFactory = when (target) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top