Function tree_sitter::ffi::ts_lookahead_iterator_reset
source · pub unsafe extern "C" fn ts_lookahead_iterator_reset(
self_: *mut TSLookaheadIterator,
language: *const TSLanguage,
state: TSStateId
) -> bool
Expand description
Reset the lookahead iterator.
This returns true
if the language was set successfully and false
otherwise.