Struct valkyrie_parser::ValkyrieParser
source · #[repr(C)]pub struct ValkyrieParser {}
Expand description
Trait Implementations§
source§impl Clone for ValkyrieParser
impl Clone for ValkyrieParser
source§fn clone(&self) -> ValkyrieParser
fn clone(&self) -> ValkyrieParser
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 ValkyrieParser
impl Debug for ValkyrieParser
source§impl Default for ValkyrieParser
impl Default for ValkyrieParser
source§fn default() -> ValkyrieParser
fn default() -> ValkyrieParser
Returns the “default value” for a type. Read more
source§impl Hash for ValkyrieParser
impl Hash for ValkyrieParser
source§impl Ord for ValkyrieParser
impl Ord for ValkyrieParser
source§fn cmp(&self, other: &ValkyrieParser) -> Ordering
fn cmp(&self, other: &ValkyrieParser) -> 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 ValkyrieParser
impl PartialEq for ValkyrieParser
source§fn eq(&self, other: &ValkyrieParser) -> bool
fn eq(&self, other: &ValkyrieParser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ValkyrieParser
impl PartialOrd for ValkyrieParser
source§fn partial_cmp(&self, other: &ValkyrieParser) -> Option<Ordering>
fn partial_cmp(&self, other: &ValkyrieParser) -> 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 ValkyrieParser
impl YggdrasilParser for ValkyrieParser
§type Rule = ValkyrieRule
type Rule = ValkyrieRule
Specify the rules of this language
source§fn parse_cst(input: &str, rule: Self::Rule) -> OutputResult<'_, ValkyrieRule>
fn parse_cst(input: &str, rule: Self::Rule) -> OutputResult<'_, ValkyrieRule>
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 ValkyrieParser
impl Eq for ValkyrieParser
impl StructuralPartialEq for ValkyrieParser
Auto Trait Implementations§
impl RefUnwindSafe for ValkyrieParser
impl Send for ValkyrieParser
impl Sync for ValkyrieParser
impl Unpin for ValkyrieParser
impl UnwindSafe for ValkyrieParser
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