Struct swc_ecma_transforms_base::helpers::Helpers
source · pub struct Helpers { /* private fields */ }
Expand description
Tracks used helper methods. (e.g. __extends)
Implementations§
source§impl Helpers
impl Helpers
pub fn apply_decorated_descriptor(&self)
pub fn array_like_to_array(&self)
pub fn array_with_holes(&self)
pub fn array_without_holes(&self)
pub fn assert_this_initialized(&self)
pub fn async_generator(&self)
pub fn async_generator_delegate(&self)
pub fn async_iterator(&self)
pub fn async_to_generator(&self)
pub fn await_async_generator(&self)
pub fn await_value(&self)
pub fn check_private_redeclaration(&self)
pub fn class_apply_descriptor_destructure(&self)
pub fn class_apply_descriptor_get(&self)
pub fn class_apply_descriptor_set(&self)
pub fn class_apply_descriptor_update(&self)
pub fn class_call_check(&self)
pub fn class_check_private_static_field_descriptor(&self)
pub fn class_extract_field_descriptor(&self)
pub fn class_name_tdz_error(&self)
pub fn class_private_field_get(&self)
pub fn class_private_field_init(&self)
pub fn class_private_field_loose_base(&self)
pub fn class_private_field_loose_key(&self)
pub fn class_private_field_set(&self)
pub fn class_private_field_update(&self)
pub fn class_private_method_get(&self)
pub fn class_private_method_init(&self)
pub fn class_private_method_set(&self)
pub fn class_static_private_field_spec_get(&self)
pub fn class_static_private_field_spec_set(&self)
pub fn class_static_private_field_update(&self)
pub fn construct(&self)
pub fn create_class(&self)
pub fn decorate(&self)
pub fn defaults(&self)
pub fn define_enumerable_properties(&self)
pub fn define_property(&self)
pub fn export_star(&self)
pub fn extends(&self)
pub fn get(&self)
pub fn get_prototype_of(&self)
pub fn inherits(&self)
pub fn inherits_loose(&self)
pub fn initializer_define_property(&self)
pub fn initializer_warning_helper(&self)
pub fn instanceof(&self)
pub fn interop_require_default(&self)
pub fn interop_require_wildcard(&self)
pub fn is_native_function(&self)
pub fn iterable_to_array(&self)
pub fn iterable_to_array_limit(&self)
pub fn iterable_to_array_limit_loose(&self)
pub fn jsx(&self)
pub fn new_arrow_check(&self)
pub fn non_iterable_rest(&self)
pub fn non_iterable_spread(&self)
pub fn object_destructuring_empty(&self)
pub fn object_spread(&self)
pub fn object_spread_props(&self)
pub fn object_without_properties(&self)
pub fn object_without_properties_loose(&self)
pub fn possible_constructor_return(&self)
pub fn read_only_error(&self)
pub fn set(&self)
pub fn set_prototype_of(&self)
pub fn skip_first_generator_next(&self)
pub fn sliced_to_array(&self)
pub fn sliced_to_array_loose(&self)
pub fn super_prop_base(&self)
pub fn tagged_template_literal(&self)
pub fn tagged_template_literal_loose(&self)
pub fn throw(&self)
pub fn to_array(&self)
pub fn to_consumable_array(&self)
pub fn to_primitive(&self)
pub fn to_property_key(&self)
pub fn update(&self)
pub fn type_of(&self)
pub fn unsupported_iterable_to_array(&self)
pub fn wrap_async_generator(&self)
pub fn wrap_native_super(&self)
pub fn write_only_error(&self)
pub fn class_private_field_destructure(&self)
pub fn class_static_private_field_destructure(&self)
pub fn class_static_private_method_get(&self)
pub fn class_check_private_static_access(&self)
pub fn is_native_reflect_construct(&self)
pub fn create_super(&self)
pub fn create_for_of_iterator_helper_loose(&self)
pub fn ts_decorate(&self)
pub fn ts_generator(&self)
pub fn ts_metadata(&self)
pub fn ts_param(&self)
pub fn ts_values(&self)
pub fn apply_decs_2203_r(&self)
pub fn identity(&self)
pub fn dispose(&self)
pub fn using(&self)
Trait Implementations§
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§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.