Struct swc_ecma_parser::EsConfig [−][src]
pub struct EsConfig {}Show fields
pub jsx: bool, pub num_sep: bool, pub class_private_props: bool, pub class_private_methods: bool, pub class_props: bool, pub fn_bind: bool, pub decorators: bool, pub decorators_before_export: bool, pub export_default_from: bool, pub export_namespace_from: bool, pub dynamic_import: bool, pub nullish_coalescing: bool, pub optional_chaining: bool, pub import_meta: bool, pub top_level_await: bool, pub import_assertions: bool,
Fields
jsx: bool
num_sep: bool
Expand description
Support numeric separator. Stage 3.
class_private_props: bool
class_private_methods: bool
class_props: bool
fn_bind: bool
Expand description
Support function bind expression.
decorators: bool
Expand description
Enable decorators.
decorators_before_export: bool
Expand description
babel: decorators.decoratorsBeforeExport
Effective only if decorator
is true.
export_default_from: bool
export_namespace_from: bool
dynamic_import: bool
nullish_coalescing: bool
Expand description
Stage 3.
optional_chaining: bool
import_meta: bool
Expand description
Stage 3.
top_level_await: bool
Expand description
Stage 3.
import_assertions: bool
Expand description
Stage 3.
Trait Implementations
impl<'de> Deserialize<'de> for EsConfig
[src]
impl<'de> Deserialize<'de> for EsConfig
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl Copy for EsConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for EsConfig
impl Send for EsConfig
impl Sync for EsConfig
impl Unpin for EsConfig
impl UnwindSafe for EsConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Node for T where
T: Any + ?Sized,
[src]
T: Any + ?Sized,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,