Struct swc::SwcComments [−][src]
pub struct SwcComments { /* fields omitted */ }
Multi-threaded implementation of Comments
Trait Implementations
impl Clone for SwcComments
[src]
impl Clone for SwcComments
[src]fn clone(&self) -> SwcComments
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Comments for SwcComments
[src]
impl Comments for SwcComments
[src]fn add_leading(&self, pos: BytePos, cmt: Comment)
[src]
fn add_leading_comments(&self, pos: BytePos, comments: Vec<Comment>)
[src]
fn has_leading(&self, pos: BytePos) -> bool
[src]
fn move_leading(&self, from: BytePos, to: BytePos)
[src]
fn take_leading(&self, pos: BytePos) -> Option<Vec<Comment>>
[src]
fn add_trailing(&self, pos: BytePos, cmt: Comment)
[src]
fn add_trailing_comments(&self, pos: BytePos, comments: Vec<Comment>)
[src]
fn has_trailing(&self, pos: BytePos) -> bool
[src]
fn move_trailing(&self, from: BytePos, to: BytePos)
[src]
fn take_trailing(&self, pos: BytePos) -> Option<Vec<Comment>>
[src]
pub fn add_pure_comment(&self, pos: BytePos)
[src]
impl Default for SwcComments
[src]
impl Default for SwcComments
[src]fn default() -> SwcComments
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SwcComments
impl !RefUnwindSafe for SwcComments
impl Send for SwcComments
impl Send for SwcComments
impl Sync for SwcComments
impl Sync for SwcComments
impl Unpin for SwcComments
impl Unpin for SwcComments
impl !UnwindSafe for SwcComments
impl !UnwindSafe for SwcComments