Renderer

Provides a human-readable representation for an instance of type T.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
abstract val key: MokkeryContext.Key<*>

Functions

Link copied to clipboard
open override fun <T> fold(initial: T, operation: (T, MokkeryContext.Element) -> T): T
Link copied to clipboard
open operator override fun <T : MokkeryContext.Element> get(key: MokkeryContext.Key<T>): T?
Link copied to clipboard
open operator override fun minus(key: MokkeryContext.Key<*>): MokkeryContext
Link copied to clipboard
open operator fun plus(context: MokkeryContext): MokkeryContext
Link copied to clipboard
context(scope: MokkeryRenderingScope)
abstract fun render(value: T): String

Provides a human-readable representation for value.