boa_engine 0.21.1

Boa is a Javascript lexer, parser and compiler written in Rust. Currently, it has support for some of the language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Module implementing the operations for the inner value of a `[super::JsValue]`.
use cfg_if::cfg_if;

cfg_if!(
    if #[cfg(feature = "jsvalue-enum")] {
        mod legacy;
        pub(crate) use legacy::EnumBasedValue as InnerValue;
    } else {
        mod nan_boxed;
        pub(crate) use nan_boxed::NanBoxedValue as InnerValue;
    }
);