swc_ecma_transforms_base 49.0.1

rust port of babel and closure compiler.
Documentation
// This file is generated by `cargo codegen helpers`. DO NOT MODIFY.

use super::{HelperDef, HelperName};

pub const DEF: HelperDef = HelperDef {
    name: HelperName::await_value,
    local: "_await_value",
    import_path: "@swc/helpers/_/_await_value",
    #[cfg(feature = "inline-helpers")]
    source: r#"function _await_value(value) {
    this.wrapped = value;
}
"#,
    #[cfg(feature = "inline-helpers")]
    deps: super::HelperBitmap::from_bits(0x00000000000000000000000000001000),
};

#[cfg(feature = "inline-helpers")]
pub fn stmts() -> &'static [swc_ecma_ast::Stmt] {
    static STMTS: once_cell::sync::Lazy<Vec<swc_ecma_ast::Stmt>> =
        once_cell::sync::Lazy::new(|| super::super::parse(DEF.source, DEF.import_path));
    &STMTS
}