Trait swc_common::comments::CommentsExt [−][src]
Provided methods
fn with_leading<F, Ret>(&self, pos: BytePos, op: F) -> Ret where
F: FnOnce(&[Comment]) -> Ret,
[src]
F: FnOnce(&[Comment]) -> Ret,
fn with_trailing<F, Ret>(&self, pos: BytePos, op: F) -> Ret where
F: FnOnce(&[Comment]) -> Ret,
[src]
F: FnOnce(&[Comment]) -> Ret,
Implementors
impl<C> CommentsExt for C where
C: Comments,
[src]
C: Comments,