Sub

data class Sub(val children: List<DocTag> = emptyList(), val params: Map<String, String> = emptyMap()) : DocTag

Constructors

Link copied to clipboard
constructor(children: List<DocTag> = emptyList(), params: Map<String, String> = emptyMap())

Properties

Link copied to clipboard
open override val children: List<DocTag>
Link copied to clipboard
open override val params: Map<String, String>

Functions

Link copied to clipboard
inline fun <T> WithChildren<*>.childrenOfType(): List<T>
Link copied to clipboard
inline fun <T> WithChildren<*>.firstChildOfType(): T
inline fun <T> WithChildren<*>.firstChildOfType(predicate: (T) -> Boolean): T
Link copied to clipboard
inline fun <T> WithChildren<*>.firstChildOfTypeOrNull(predicate: (T) -> Boolean): T?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@JvmName(name = "withDescendantsProjection")
fun WithChildren<*>.withDescendants(): Sequence<Any?>
@JvmName(name = "withDescendantsAny")
fun WithChildren<Any>.withDescendants(): Sequence<Any>