Crate boa_macros
source ·Expand description
Macros for the Boa JavaScript engine.
About Boa
Boa is an open-source, experimental ECMAScript Engine written in Rust for lexing, parsing and executing ECMAScript/JavaScript. Currently, Boa supports some of the language. More information can be viewed at Boa’s website.
Try out the most recent release with Boa’s live demo playground.
Boa Crates
boa_ast- Boa’s ECMAScript Abstract Syntax Tree.boa_engine- Boa’s implementation of ECMAScript builtin objects and execution.boa_gc- Boa’s garbage collector.boa_interner- Boa’s string interner.boa_parser- Boa’s lexer and parser.boa_profiler- Boa’s code profiler.boa_icu_provider- Boa’s ICU4X data provider.boa_runtime- Boa’s WebAPI features.
Macros
- Construct a utf-16 array literal from a utf-8
strliteral.
Derive Macros
- Derive the
Finalizetrait. - Derive the
Tracetrait. - Derives the
TryFromJstrait, with the#[boa()]attribute.