[−][src]Struct moore_vhdl_syntax::lexer::Lexer
A VHDL lexer. Converts a stream of bytes to VHDL tokens. Emits errors backwards up the pipeline.
Methods
impl<T> Lexer<T> where
T: Grinder<Item = Option<u8>, Error = DiagBuilder2>,
[src]
T: Grinder<Item = Option<u8>, Error = DiagBuilder2>,
Trait Implementations
impl<T> Grinder for Lexer<T> where
T: Grinder<Item = Option<u8>, Error = DiagBuilder2>,
[src]
T: Grinder<Item = Option<u8>, Error = DiagBuilder2>,
type Item = Option<Spanned<Token>>
type Error = DiagBuilder2
fn next(&mut self) -> Self::Item
[src]
fn emit(&mut self, err: Self::Error)
[src]
fn vent<F, E>(self, f: F) -> Vent<Self, F, E> where
F: Fn(E),
[src]
F: Fn(E),
fn unwrap(self) -> Unwrap<Self>
[src]
fn map_err<F, E>(self, f: F) -> MapErrGrinder<Self, F, E> where
F: Fn(E) -> Self::Error,
[src]
F: Fn(E) -> Self::Error,
fn peekable(self) -> Peekable<Self>
[src]
fn lookaheadable(self) -> Lookahead<Self>
[src]
fn filter<F>(self, f: F) -> Filter<Self, F> where
F: Fn(&<Self::Item as Chisel>::Value) -> bool,
[src]
F: Fn(&<Self::Item as Chisel>::Value) -> bool,
Auto Trait Implementations
impl<T> RefUnwindSafe for Lexer<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Lexer<T> where
T: Send,
T: Send,
impl<T> Sync for Lexer<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Lexer<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Lexer<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,