Enum rustemo_compiler::TableType
source · pub enum TableType {
LALR,
LALR_PAGERW,
LALR_RN,
}
Expand description
Specifies the type of the parsing table used during parsing to decide about shift/reduce/goto operations.
Variants§
LALR
Lookahead LR tables. See http://publications.csail.mit.edu/lcs/pubs/pdf/MIT-LCS-TR-065.pdf
LALR_PAGERW
A slight modification of LALR tables to prevent some reduce/reduce conflicts. Inspired by https://doi.org/10.1007/BF00290336
LALR_RN
LALR tables extended with right-nulled entries. Used for GLR parsing (RNGLR). See https://doi.org/10.1145/1146809.1146810
Trait Implementations§
source§impl PartialEq for TableType
impl PartialEq for TableType
impl Eq for TableType
impl StructuralEq for TableType
impl StructuralPartialEq for TableType
Auto Trait Implementations§
impl RefUnwindSafe for TableType
impl Send for TableType
impl Sync for TableType
impl Unpin for TableType
impl UnwindSafe for TableType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.