[−][src]Trait swc_ecma_codegen::util::SourceMapperExt
Required methods
pub fn get_code_map(&self) -> &dyn SourceMapper
[src]
Provided methods
pub fn is_on_same_line(&self, lo: BytePos, hi: BytePos) -> bool
[src]
pub fn should_write_separating_line_terminator<P: Spanned, N: Spanned>(
&self,
prev: Option<P>,
next: Option<N>,
format: ListFormat
) -> bool
[src]
&self,
prev: Option<P>,
next: Option<N>,
format: ListFormat
) -> bool
pub fn should_write_leading_line_terminator<N: Spanned>(
&self,
parent_node: Span,
children: &[N],
format: ListFormat
) -> bool
[src]
&self,
parent_node: Span,
children: &[N],
format: ListFormat
) -> bool
pub fn should_write_closing_line_terminator<N: Spanned>(
&self,
parent_node: Span,
children: &[N],
format: ListFormat
) -> bool
[src]
&self,
parent_node: Span,
children: &[N],
format: ListFormat
) -> bool