pub trait SourceMapperExt {
    fn get_code_map(&self) -> &dyn SourceMapper;

    fn is_on_same_line(&self, _lo: BytePos, _hi: BytePos) -> bool { ... }
    fn should_write_separating_line_terminator<P, N>(
        &self,
        prev: Option<P>,
        next: Option<N>,
        format: ListFormat
    ) -> bool
    where
        P: Spanned,
        N: Spanned
, { ... } fn should_write_leading_line_terminator<N>(
        &self,
        parent_node: Span,
        children: &[N],
        format: ListFormat
    ) -> bool
    where
        N: Spanned
, { ... } fn should_write_closing_line_terminator<N>(
        &self,
        parent_node: Span,
        children: &[N],
        format: ListFormat
    ) -> bool
    where
        N: Spanned
, { ... } }
Available on crate feature visit only.

Required Methods

Provided Methods

Implementations on Foreign Types

Implementors