Package org.jetbrains.dokka.utilities

Types

Link copied to clipboard
class DokkaConsoleLogger(val minLevel: LoggingLevel = LoggingLevel.DEBUG, emitter: MessageEmitter = MessageEmitter.consoleEmitter) : DokkaLogger
Link copied to clipboard
interface DokkaLogger
Link copied to clipboard
enum LoggingLevel : Enum<LoggingLevel>
Link copied to clipboard
fun interface MessageEmitter : Function1<String, Unit>

Used to decouple the transport layer from logger and make it convenient for testing

Link copied to clipboard
interface SelfRepresentingSingletonSet<T : SelfRepresentingSingletonSet<T>> : Set<T>
Link copied to clipboard
data class ServiceDescriptor(    val name: String,     val category: String,     val description: String?,     val className: String)
Link copied to clipboard
object ServiceLocator
Link copied to clipboard
class ServiceLookupException(message: String) : Exception

Functions

Link copied to clipboard
inline fun <K, V : Any> Iterable<K>.associateWithNotNull(valueSelector: (K) -> V?): Map<K, V>
Link copied to clipboard
inline fun <T> Any.cast(): T
Link copied to clipboard
inline fun <T : Enum<*>> enumValueOrNull(name: String): T?
Link copied to clipboard
fun String.formatToEndWithHtml(): String
Link copied to clipboard
fun String.htmlEscape(): String

Replaces symbols reserved in HTML with their respective entities. Replaces & with &, < with < and with >

Link copied to clipboard
inline fun <T : Any> ServiceLocator.lookup(desc: ServiceDescriptor): T
inline fun <T : Any> ServiceLocator.lookup(category: String, implementationName: String): T
Link copied to clipboard
inline suspend fun <A> Iterable<A>.parallelForEach(crossinline f: suspend (A) -> Unit)
Link copied to clipboard
inline suspend fun <A, B> Iterable<A>.parallelMap(crossinline f: suspend (A) -> B): List<B>
Link copied to clipboard
inline suspend fun <A, B> Iterable<A>.parallelMapNotNull(crossinline f: suspend (A) -> B?): List<B>
Link copied to clipboard
fun URI.relativeTo(uri: URI): URI
Link copied to clipboard
fun DokkaLogger.report()
Link copied to clipboard
fun String.urlEncoded(): String