foundation
0.10.0
jvm
foundation
/
org.jetbrains.jewel.foundation.lazy.tree
/
TreeGeneratorScope
Tree
Generator
Scope
interface
TreeGeneratorScope
<
T
>
Inheritors
TreeBuilder
ChildrenGeneratorScope
Members
Functions
add
Link copied to clipboard
abstract
fun
add
(
element
:
TreeBuilder.Element
<
T
>
)
add
Leaf
Link copied to clipboard
abstract
fun
addLeaf
(
data
:
T
,
id
:
Any
?
=
null
)
add
Node
Link copied to clipboard
abstract
fun
addNode
(
data
:
T
,
id
:
Any
?
=
null
,
childrenGenerator
:
ChildrenGeneratorScope
<
T
>
.
(
)
->
Unit
=
{}
)