org.jetbrains.kotlin.config.KlibConfigurationKeys.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler-embeddable Show documentation
Show all versions of kotlin-compiler-embeddable Show documentation
the Kotlin compiler embeddable
/*
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.config
object KlibConfigurationKeys {
@JvmField
val KLIB_RELATIVE_PATH_BASES: CompilerConfigurationKey> =
CompilerConfigurationKey.create("Provides a path from which relative paths in klib are being computed")
@JvmField
val KLIB_NORMALIZE_ABSOLUTE_PATH: CompilerConfigurationKey =
CompilerConfigurationKey.create("Normalize absolute paths in klib (replace file separator with '/')")
@JvmField
val PRODUCE_KLIB_SIGNATURES_CLASH_CHECKS: CompilerConfigurationKey =
CompilerConfigurationKey.create("Turn on the checks on uniqueness of signatures")
@JvmField
val EXPERIMENTAL_DOUBLE_INLINING: CompilerConfigurationKey =
CompilerConfigurationKey.create("Turns on experimental double-inlining mode")
@JvmField
val SYNTHETIC_ACCESSORS_DUMP_DIR: CompilerConfigurationKey =
CompilerConfigurationKey.create("Path to a directory to dump synthetic accessors and their use sites")
@JvmField
val SYNTHETIC_ACCESSORS_WITH_NARROWED_VISIBILITY: CompilerConfigurationKey =
CompilerConfigurationKey.create(
"Narrow the visibility of generated synthetic accessors to _internal_" +
" if such accessors are only used in inline functions that are not a part of public ABI"
)
}