swc_ecma_utils

Function default_constructor_with_span

source
pub fn default_constructor_with_span(
    has_super: bool,
    super_call_span: Span,
) -> Constructor
Expand description

super_call_span should be the span of the class definition Use value of [Class::span].