Trait swc_ecma_codegen::util::SpanExt [−][src]
pub trait SpanExt: Spanned { fn is_synthesized(&self) -> bool { ... } fn starts_on_new_line(&self, format: ListFormat) -> bool { ... } fn comment_range(&self) -> Span { ... } }
Provided methods
fn is_synthesized(&self) -> bool
[src]
fn is_synthesized(&self) -> bool
[src]fn starts_on_new_line(&self, format: ListFormat) -> bool
[src]
fn starts_on_new_line(&self, format: ListFormat) -> bool
[src]fn comment_range(&self) -> Span
[src]
fn comment_range(&self) -> Span
[src]Gets a custom text range to use when emitting comments.