NodeBuilder

class NodeBuilder<T>(var value: T, val children: MutableList<NodeBuilder<T>> = mutableListOf())(source)

Created by Nicholas Eddy on 3/27/18.

Constructors

Link copied to clipboard
constructor(value: T, children: MutableList<NodeBuilder<T>> = mutableListOf())

Properties

Link copied to clipboard
Link copied to clipboard
var value: T

Functions

Link copied to clipboard
fun node(value: T, block: NodeBuilder<T>.() -> Unit = {}): NodeBuilder<T>
Link copied to clipboard