[][src]Struct lrlex::LRNonStreamingLexerDef

pub struct LRNonStreamingLexerDef<StorageT> { /* fields omitted */ }

This struct represents, in essence, a .l file in memory. From it one can produce an LRNonStreamingLexer which actually lexes inputs.

Implementations

impl<StorageT: Copy + Eq + Hash + PrimInt + TryFrom<usize> + Unsigned> LRNonStreamingLexerDef<StorageT>[src]

pub fn lexer<'lexer, 'input: 'lexer>(
    &'lexer self,
    s: &'input str
) -> LRNonStreamingLexer<'lexer, 'input, StorageT>
[src]

Return an LRNonStreamingLexer for the String s that will lex relative to this LRNonStreamingLexerDef.

Trait Implementations

impl<StorageT: Copy + Eq + Hash + PrimInt + TryFrom<usize> + Unsigned> LexerDef<StorageT> for LRNonStreamingLexerDef<StorageT>[src]

Auto Trait Implementations

impl<StorageT> !RefUnwindSafe for LRNonStreamingLexerDef<StorageT>

impl<StorageT> Send for LRNonStreamingLexerDef<StorageT> where
    StorageT: Send

impl<StorageT> Sync for LRNonStreamingLexerDef<StorageT> where
    StorageT: Sync

impl<StorageT> Unpin for LRNonStreamingLexerDef<StorageT> where
    StorageT: Unpin

impl<StorageT> UnwindSafe for LRNonStreamingLexerDef<StorageT> where
    StorageT: 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, 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.

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

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