next_bool: Next Component Prediction
Description
Helper to define next allowed component in a boolean vector.
Usage
next_bool(x = "", count = 0L)
Arguments
x
a string, current component.
count
an integer, representing current number of opened/closed bracket.
Value
a vector of next allowed components.