pub enum YaccKind {
Original(YaccOriginalActionKind),
Grmtools,
Eco,
}
Expand description
The particular Yacc variant this grammar makes use of.
Variants§
Original(YaccOriginalActionKind)
The original Yacc style as documented by Johnson,
Grmtools
Similar to the original Yacc style, but allowing individual rules’ actions to have their own return type.
Eco
The variant used in the Eco language composition editor
Trait Implementations§
source§impl<'de> Deserialize<'de> for YaccKind
impl<'de> Deserialize<'de> for YaccKind
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for YaccKind
Auto Trait Implementations§
impl Freeze for YaccKind
impl RefUnwindSafe for YaccKind
impl Send for YaccKind
impl Sync for YaccKind
impl Unpin for YaccKind
impl UnwindSafe for YaccKind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more