Function llg_matcher_compute_mask

pub extern "C" fn llg_matcher_compute_mask(
    matcher: &mut LlgMatcher,
) -> i32
Expand description

Compute the set of allowed tokens for the current state. Use llg_matcher_get_mask() to get the result. Returns 0 on success and -1 on error.