Function llg_matcher_consume_tokens

pub unsafe extern "C" fn llg_matcher_consume_tokens(
    matcher: &mut LlgMatcher,
    tokens: *const u32,
    n_tokens: usize,
) -> i32
Expand description

Advance the matcher by several tokens. Returns 0 on success and -1 on error.

ยงSafety

This function should only be called from C code.