Struct swc_ecma_transforms_base::helpers::Helpers[][src]

pub struct Helpers { /* fields omitted */ }

Tracks used helper methods. (e.g. __extends)

Implementations

impl Helpers[src]

pub fn new(external: bool) -> Self[src]

pub const fn mark(&self) -> Mark[src]

pub const fn external(&self) -> bool[src]

impl Helpers[src]

pub fn apply_decorated_descriptor(&self)[src]

pub fn array_with_holes(&self)[src]

pub fn array_without_holes(&self)[src]

pub fn assert_this_initialized(&self)[src]

pub fn async_generator(&self)[src]

pub fn async_generator_delegate(&self)[src]

pub fn async_iterator(&self)[src]

pub fn async_to_generator(&self)[src]

pub fn await_async_generator(&self)[src]

pub fn await_value(&self)[src]

pub fn class_call_check(&self)[src]

pub fn class_name_tdz_error(&self)[src]

pub fn class_private_field_get(&self)[src]

pub fn class_private_field_loose_base(&self)[src]

pub fn class_private_field_set(&self)[src]

pub fn class_private_method_get(&self)[src]

pub fn class_private_method_set(&self)[src]

pub fn class_static_private_field_spec_get(&self)[src]

pub fn class_static_private_field_spec_set(&self)[src]

pub fn construct(&self)[src]

pub fn create_class(&self)[src]

pub fn decorate(&self)[src]

pub fn defaults(&self)[src]

pub fn define_enumerable_properties(&self)[src]

pub fn define_property(&self)[src]

pub fn extends(&self)[src]

pub fn get(&self)[src]

pub fn get_prototype_of(&self)[src]

pub fn inherits(&self)[src]

pub fn inherits_loose(&self)[src]

pub fn initializer_define_property(&self)[src]

pub fn initializer_warning_helper(&self)[src]

pub fn instanceof(&self)[src]

pub fn interop_require_default(&self)[src]

pub fn interop_require_wildcard(&self)[src]

pub fn is_native_function(&self)[src]

pub fn iterable_to_array(&self)[src]

pub fn iterable_to_array_limit(&self)[src]

pub fn iterable_to_array_limit_loose(&self)[src]

pub fn jsx(&self)[src]

pub fn new_arrow_check(&self)[src]

pub fn non_iterable_rest(&self)[src]

pub fn non_iterable_spread(&self)[src]

pub fn object_spread(&self)[src]

pub fn object_without_properties(&self)[src]

pub fn object_without_properties_loose(&self)[src]

pub fn possible_constructor_return(&self)[src]

pub fn read_only_error(&self)[src]

pub fn set(&self)[src]

pub fn set_prototype_of(&self)[src]

pub fn skip_first_generator_next(&self)[src]

pub fn sliced_to_array(&self)[src]

pub fn sliced_to_array_loose(&self)[src]

pub fn super_prop_base(&self)[src]

pub fn tagged_template_literal(&self)[src]

pub fn tagged_template_literal_loose(&self)[src]

pub fn throw(&self)[src]

pub fn to_array(&self)[src]

pub fn to_consumable_array(&self)[src]

pub fn to_primitive(&self)[src]

pub fn to_property_key(&self)[src]

pub fn type_of(&self)[src]

pub fn wrap_async_generator(&self)[src]

pub fn wrap_native_super(&self)[src]

pub fn class_private_field_destructure(&self)[src]

impl Helpers[src]

pub fn extend_from(&self, other: &Self)[src]

Trait Implementations

impl Debug for Helpers[src]

impl Default for Helpers[src]

Auto Trait Implementations

impl RefUnwindSafe for Helpers

impl Send for Helpers

impl Sync for Helpers

impl Unpin for Helpers

impl UnwindSafe for Helpers

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Node for T where
    T: Any + ?Sized
[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.