[][src]Trait moore_common::lexer::Lexer

pub trait Lexer<T> {
    pub fn next_token<'td>(&mut self) -> DiagResult<'td, T>;
}

A trait that can supply a stream of tokens.

Required methods

pub fn next_token<'td>(&mut self) -> DiagResult<'td, T>[src]

Loading content...

Implementors

impl<T: Clone + PartialEq> Lexer<T> for StackedLexer<T>[src]

Loading content...