pub trait PpAnn {
    // Provided methods
    fn pre(&self, _state: &mut State<'_>, _node: AnnNode<'_>) { ... }
    fn post(&self, _state: &mut State<'_>, _node: AnnNode<'_>) { ... }
}

Provided Methods§

source

fn pre(&self, _state: &mut State<'_>, _node: AnnNode<'_>)

source

fn post(&self, _state: &mut State<'_>, _node: AnnNode<'_>)

Implementors§

source§

impl PpAnn for NoAnn

impl<'a> PpAnn for HygieneAnnotation<'a>

impl<'hir> PpAnn for IdentifiedAnnotation<'hir>

impl<'hir> PpAnn for NoAnn<'hir>