web-tree-sitter-sg 1.3.3

Raw bindings to the tree-sitter-web API.
Documentation
#![allow(clippy::unused_unit)]
#![allow(non_upper_case_globals)]

use js_sys::Object;
use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern {
    pub type Require;

    pub static require: Require;

    #[wasm_bindgen(method)]
    pub fn resolve(this: &Require, request: &str, options: Option<Object>) -> String;
}

pub(crate) mod language;
pub(crate) mod syntax_node;
pub(crate) mod tree;