[][src]Struct moore_vhdl_syntax::lexer::tokenizer::Tokenizer

pub struct Tokenizer<T: Grinder> { /* fields omitted */ }

A grinder that combines character bundles into lexical tokens. This is the last stage of lexical analysis.

Methods

impl<T: Grinder> Tokenizer<T> where
    T: Grinder<Item = Option<Spanned<Bundle>>, Error = DiagBuilder2>, 
[src]

pub fn new<I>(inner: I) -> Tokenizer<T> where
    I: Into<Lookahead<T>>, 
[src]

Create a new bundler.

Trait Implementations

impl<T> Grinder for Tokenizer<T> where
    T: Grinder<Item = Option<Spanned<Bundle>>, Error = DiagBuilder2>, 
[src]

type Item = Option<Spanned<Token>>

type Error = DiagBuilder2

Auto Trait Implementations

impl<T> RefUnwindSafe for Tokenizer<T> where
    T: RefUnwindSafe,
    <T as Grinder>::Item: RefUnwindSafe

impl<T> Send for Tokenizer<T> where
    T: Send,
    <T as Grinder>::Item: Send

impl<T> Sync for Tokenizer<T> where
    T: Sync,
    <T as Grinder>::Item: Sync

impl<T> Unpin for Tokenizer<T> where
    T: Unpin,
    <T as Grinder>::Item: Unpin

impl<T> UnwindSafe for Tokenizer<T> where
    T: UnwindSafe,
    <T as Grinder>::Item: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.