monkey-wasm 2.0.2

monkey lang parser wasm version
Documentation
1
2
3
4
5
6
7
8
9
//! Ships the hand-written TypeScript declarations for the JSON AST that
//! `parse` and `analyze_lossless` emit. wasm-bindgen appends the file to the
//! generated `monkey_wasm.d.ts`, so the npm package carrying the parser also
//! carries the types for its output.

use wasm_bindgen::prelude::*;

#[wasm_bindgen(typescript_custom_section)]
const AST_TYPES: &str = include_str!("ast_types.d.ts");