BumpWithContext

Trait BumpWithContext 

Source
pub trait BumpWithContext: TokenSource {
    type Context;

    // Required methods
    fn bump_with_context(&mut self, context: Self::Context);
    fn skip_as_trivia_with_context(&mut self, context: Self::Context);
}

Required Associated Types§

Required Methods§

Source

fn bump_with_context(&mut self, context: Self::Context)

Source

fn skip_as_trivia_with_context(&mut self, context: Self::Context)

Skips the current token as skipped token trivia

Implementors§