choice

fun choice(value: String)

Adds a literal completion value with no further arguments.


fun choice(value: String, block: NodeBuilder.() -> Unit)

Adds a literal completion value with a nested sub-tree built by block.