DFunction

data class DFunction(val dri: DRI, val name: String, val isConstructor: Boolean, val parameters: List<DParameter>, val documentation: SourceSetDependent<DocumentationNode>, val expectPresentInSet: DokkaConfiguration.DokkaSourceSet?, val sources: SourceSetDependent<DocumentableSource>, val visibility: SourceSetDependent<Visibility>, val type: Bound, val generics: List<DTypeParameter>, val receiver: DParameter?, val modifier: SourceSetDependent<Modifier>, val sourceSets: Set<DokkaConfiguration.DokkaSourceSet>, val isExpectActual: Boolean, val extra: PropertyContainer<DFunction> = PropertyContainer.empty()) : Documentable, Callable, WithGenerics, WithExtraProperties<DFunction>

Constructors

Link copied to clipboard
constructor(dri: DRI, name: String, isConstructor: Boolean, parameters: List<DParameter>, documentation: SourceSetDependent<DocumentationNode>, expectPresentInSet: DokkaConfiguration.DokkaSourceSet?, sources: SourceSetDependent<DocumentableSource>, visibility: SourceSetDependent<Visibility>, type: Bound, generics: List<DTypeParameter>, receiver: DParameter?, modifier: SourceSetDependent<Modifier>, sourceSets: Set<DokkaConfiguration.DokkaSourceSet>, isExpectActual: Boolean, extra: PropertyContainer<DFunction> = PropertyContainer.empty())

Properties

Link copied to clipboard
open override val children: List<Documentable>
Link copied to clipboard
Link copied to clipboard
open override val dri: DRI
Link copied to clipboard
Link copied to clipboard
open override val extra: PropertyContainer<DFunction>
Link copied to clipboard
open override val generics: List<DTypeParameter>
Link copied to clipboard
Link copied to clipboard
open override val isExpectActual: Boolean
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard
Link copied to clipboard
open override val receiver: DParameter?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val type: Bound
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T> WithChildren<*>.childrenOfType(): List<T>
Link copied to clipboard
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
Link copied to clipboard
@JvmName(name = "withDescendantsProjection")
fun WithChildren<*>.withDescendants(): Sequence<Any?>
@JvmName(name = "withDescendantsAny")
fun WithChildren<Any>.withDescendants(): Sequence<Any>
Link copied to clipboard
open override fun withNewExtras(newExtras: PropertyContainer<DFunction>): DFunction