[][src]Trait swc_ecma_codegen::util::SpanExt

pub trait SpanExt: Spanned {
    pub fn is_synthesized(&self) -> bool { ... }
pub fn starts_on_new_line(&self, format: ListFormat) -> bool { ... }
pub fn comment_range(&self) -> Span { ... } }

Provided methods

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

pub fn starts_on_new_line(&self, format: ListFormat) -> bool[src]

pub fn comment_range(&self) -> Span[src]

Gets a custom text range to use when emitting comments.

Loading content...

Implementors

impl<T: Spanned> SpanExt for T[src]

Loading content...