ClasslikePage

Properties

Link copied to clipboard
abstract override val children: List<PageNode>
Link copied to clipboard
abstract val content: ContentNode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract val dri: Set<DRI>
Link copied to clipboard
Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
Link copied to clipboard
inline fun <T : PageNode> PageNode.children(): List<T>
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
Link copied to clipboard
abstract fun modified(name: String = this.name, content: ContentNode = this.content, dri: Set<DRI> = this.dri, embeddedResources: List<String> = this.embeddedResources, children: List<PageNode> = this.children): ContentPage
abstract fun modified(name: String = this.name, children: List<PageNode> = this.children): PageNode
Link copied to clipboard
@JvmName(name = "withDescendantsProjection")
fun WithChildren<*>.withDescendants(): Sequence<Any?>
@JvmName(name = "withDescendantsAny")
fun WithChildren<Any>.withDescendants(): Sequence<Any>