Struct dejavu_parser::dejavu::DejavuParser
source · #[repr(C)]pub struct DejavuParser {}
Expand description
Trait Implementations§
source§impl Clone for DejavuParser
impl Clone for DejavuParser
source§fn clone(&self) -> DejavuParser
fn clone(&self) -> DejavuParser
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DejavuParser
impl Debug for DejavuParser
source§impl Default for DejavuParser
impl Default for DejavuParser
source§fn default() -> DejavuParser
fn default() -> DejavuParser
Returns the “default value” for a type. Read more
source§impl Hash for DejavuParser
impl Hash for DejavuParser
source§impl Ord for DejavuParser
impl Ord for DejavuParser
source§fn cmp(&self, other: &DejavuParser) -> Ordering
fn cmp(&self, other: &DejavuParser) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DejavuParser
impl PartialEq for DejavuParser
source§fn eq(&self, other: &DejavuParser) -> bool
fn eq(&self, other: &DejavuParser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DejavuParser
impl PartialOrd for DejavuParser
source§fn partial_cmp(&self, other: &DejavuParser) -> Option<Ordering>
fn partial_cmp(&self, other: &DejavuParser) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl YggdrasilParser for DejavuParser
impl YggdrasilParser for DejavuParser
§type Rule = DejavuRule
type Rule = DejavuRule
Specify the rules of this language
source§fn parse_cst(input: &str, rule: Self::Rule) -> OutputResult<'_, DejavuRule>
fn parse_cst(input: &str, rule: Self::Rule) -> OutputResult<'_, DejavuRule>
Parses a
&str
starting from rule
.source§fn parse_lex(
input: &str,
rule: Self::Rule
) -> Result<TokenStream<'_, Self::Rule>, YggdrasilError<Self::Rule>>
fn parse_lex( input: &str, rule: Self::Rule ) -> Result<TokenStream<'_, Self::Rule>, YggdrasilError<Self::Rule>>
Get flatten token stream
impl Copy for DejavuParser
impl Eq for DejavuParser
impl StructuralEq for DejavuParser
impl StructuralPartialEq for DejavuParser
Auto Trait Implementations§
impl RefUnwindSafe for DejavuParser
impl Send for DejavuParser
impl Sync for DejavuParser
impl Unpin for DejavuParser
impl UnwindSafe for DejavuParser
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