tree_sitter::ffi

Function ts_language_is_wasm

Source
pub unsafe extern "C" fn ts_language_is_wasm(
    arg1: *const TSLanguage,
) -> bool
Expand description

Check if the language came from a Wasm module. If so, then in order to use this language with a Parser, that parser must have a Wasm store assigned.