TreeGeneratorScope

Functions

Link copied to clipboard
abstract fun add(element: TreeBuilder.Element<T>)
Link copied to clipboard
abstract fun addLeaf(data: T, id: Any? = null)
Link copied to clipboard
abstract fun addNode(data: T, id: Any? = null, childrenGenerator: ChildrenGeneratorScope<T>.() -> Unit = {})