Function tree_sitter::ffi::ts_lookahead_iterator_reset_state

source ·
pub unsafe extern "C" fn ts_lookahead_iterator_reset_state(
    self_: *mut TSLookaheadIterator,
    state: TSStateId
) -> bool
Expand description

Reset the lookahead iterator to another state.

This returns true if the iterator was reset to the given state and false otherwise.