[−][src]Struct moore_vhdl_syntax::lexer::bundler::Bundler
A grinder that bundles up categorized characters into groups and converts spaces and comments into single tokens, dropping any information about their content. String and bit string literals are formed here as well.
Implementations
impl<T: Grinder> Bundler<T>
[src]
pub fn new<I>(inner: I, src: Source) -> Bundler<T> where
I: Into<Lookahead<T>>,
[src]
I: Into<Lookahead<T>>,
Create a new bundler.
Trait Implementations
impl<T> Grinder for Bundler<T> where
T: Grinder<Item = Option<(usize, char, u8, Category)>, Error = DiagBuilder2>,
[src]
T: Grinder<Item = Option<(usize, char, u8, Category)>, Error = DiagBuilder2>,
type Item = Option<Spanned<Bundle>>
type Error = DiagBuilder2
fn emit(&mut self, err: Self::Error)
[src]
fn next(&mut self) -> Self::Item
[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 Bundler<T> where
T: RefUnwindSafe,
<T as Grinder>::Item: RefUnwindSafe,
T: RefUnwindSafe,
<T as Grinder>::Item: RefUnwindSafe,
impl<T> Send for Bundler<T> where
T: Send,
<T as Grinder>::Item: Send,
T: Send,
<T as Grinder>::Item: Send,
impl<T> Sync for Bundler<T> where
T: Sync,
<T as Grinder>::Item: Sync,
T: Sync,
<T as Grinder>::Item: Sync,
impl<T> Unpin for Bundler<T> where
T: Unpin,
<T as Grinder>::Item: Unpin,
T: Unpin,
<T as Grinder>::Item: Unpin,
impl<T> UnwindSafe for Bundler<T> where
T: UnwindSafe,
<T as Grinder>::Item: UnwindSafe,
T: UnwindSafe,
<T as Grinder>::Item: 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, 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>,