Skip to main content

Crate parser

Crate parser 

Source

Re-exports§

pub extern crate lexer;

Modules§

ast
validation

Structs§

Parser

Functions§

parse
parse_ast_json_string
parse_ast_lossless_json_string
Serialize the parser AST without routing i64 integer literals through a JavaScript number. The JSON shape otherwise stays identical to parse_ast_json_string.
stringify_integer_literals
Rewrite every Integer literal’s raw field from a JSON number to a decimal string so JavaScript consumers keep the full signed 64-bit range. Shared with the wasm analyze_lossless envelope.