Struct swc_ecma_parser::EsConfig [−][src]
pub struct EsConfig {
pub jsx: bool,
pub fn_bind: bool,
pub decorators: bool,
pub decorators_before_export: bool,
pub export_default_from: bool,
pub import_assertions: bool,
pub static_blocks: bool,
pub private_in_object: bool,
}
Fields
jsx: bool
fn_bind: bool
Support function bind expression.
decorators: bool
Enable decorators.
decorators_before_export: bool
babel: decorators.decoratorsBeforeExport
Effective only if decorator
is true.
export_default_from: bool
import_assertions: bool
Stage 3.
static_blocks: bool
private_in_object: bool
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for EsConfig
impl UnwindSafe for EsConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more