[−][src]Struct lemon_mint::LemonMint
The compiled parser that can be saved to a rust file. Use LemonMintBuilder
to build it.
Implementations
impl LemonMint
[src]
pub fn gen_rust<W>(&self, out: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
Generate Rust source code for the parser
pub fn gen_log<W>(
&self,
out: &mut W,
basisflag: bool,
show_precedence_conflict: bool
) -> Result<()> where
W: Write,
[src]
&self,
out: &mut W,
basisflag: bool,
show_precedence_conflict: bool
) -> Result<()> where
W: Write,
Generate a report of the parser generated. (the "y.output" file)
basisflag
- Print only the basis in reportshow_precedence_conflict
- Show conflicts resolved by precedence rules
pub fn gen_y<W>(&self, out: &mut W) -> Result<()> where
W: Write,
[src]
W: Write,
Trait Implementations
impl Debug for LemonMint
[src]
impl TryFrom<LemonMintBuilder> for LemonMint
[src]
type Error = LemonMintError
The type returned in the event of a conversion error.
fn try_from(builder: LemonMintBuilder) -> Result<Self, LemonMintError>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for LemonMint
impl !Send for LemonMint
impl !Sync for LemonMint
impl Unpin for LemonMint
impl !UnwindSafe for LemonMint
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>,