UnorderedList

class UnorderedList(val isLoose: Boolean, val children: List<Node>) : ListBlock

An unordered list.

Parameters

isLoose

whether the list is loose

children

items

Constructors

Link copied to clipboard
constructor(isLoose: Boolean, children: List<Node>)

Properties

Link copied to clipboard
open override val children: List<Node>
Link copied to clipboard
open override val isLoose: Boolean
Link copied to clipboard
open val items: List<ListItem>

Items of the list.

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Returns a sequence of all nodes in the tree, where this is the root node. The sequence is generated by traversing the tree in depth-first order. The root node is excluded from the sequence.

Link copied to clipboard