Skip to main content

Crate ox_jsdoc

Crate ox_jsdoc 

Source
Expand description

Binary AST for ox_jsdoc.

This crate hosts the Binary AST format specification ([format]), the parser-integrated binary writer (writer), the parser entry point (parser), the Rust-side lazy decoder (decoder), and the UTF-8 → UTF-16 position converter ([utf16]) used at emit time to satisfy the wire-format requirement that Pos/End are UTF-16 code units.

The Binary AST replaces the previous JSON serialization path between the Rust parser and JS bindings. The full design lives under design/007-binary-ast/. The format specification itself is in design/007-binary-ast/format.md; this crate is the Rust reference implementation for that spec.

Modules§

decoder
Rust-side lazy decoder.
format
Binary AST format specification (constants, layouts, type definitions).
parser
Public parser entry points.
writer
Binary AST writer (parser-integrated, approach c-1).