[][src]Enum panini_logic::middle::ir::LexerLayer

pub enum LexerLayer {
    Invoke {
        lexer_id: LexerId,
        embedded_strings: Vec<String>,
    },
    CharClassifier(Vec<(Class, Symbol)>),
    None,
}

Describes how the inner layer will be invoked. Most of the time, the inner layer is either a sub-grammar described by the grammar author, or an implicit invocation of a character classifier.

Variants

Invoke

Fields of Invoke

lexer_id: LexerIdembedded_strings: Vec<String>
CharClassifier(Vec<(Class, Symbol)>)
None

Trait Implementations

impl Debug for LexerLayer[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<E> SpecializationError for E[src]

impl<T> Erased for T[src]

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

type Error = !

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]