Struct valkyrie_parser::ExpressionRootNode
source · pub struct ExpressionRootNode {
pub annotation_term: Vec<AnnotationTermNode>,
pub eos: Option<EosNode>,
pub main_expression: MainExpressionNode,
pub op_and_then: Option<OpAndThenNode>,
pub span: Range<u32>,
}
Fields§
§annotation_term: Vec<AnnotationTermNode>
§eos: Option<EosNode>
§main_expression: MainExpressionNode
§op_and_then: Option<OpAndThenNode>
§span: Range<u32>
Trait Implementations§
source§impl Clone for ExpressionRootNode
impl Clone for ExpressionRootNode
source§fn clone(&self) -> ExpressionRootNode
fn clone(&self) -> ExpressionRootNode
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 ExpressionRootNode
impl Debug for ExpressionRootNode
source§impl FromStr for ExpressionRootNode
impl FromStr for ExpressionRootNode
§type Err = YggdrasilError<ValkyrieRule>
type Err = YggdrasilError<ValkyrieRule>
The associated error which can be returned from parsing.
source§fn from_str(input: &str) -> Result<Self, YggdrasilError<ValkyrieRule>>
fn from_str(input: &str) -> Result<Self, YggdrasilError<ValkyrieRule>>
Parses a string
s
to return a value of this type. Read moresource§impl Hash for ExpressionRootNode
impl Hash for ExpressionRootNode
source§impl YggdrasilNode for ExpressionRootNode
impl YggdrasilNode for ExpressionRootNode
Auto Trait Implementations§
impl RefUnwindSafe for ExpressionRootNode
impl Send for ExpressionRootNode
impl Sync for ExpressionRootNode
impl Unpin for ExpressionRootNode
impl UnwindSafe for ExpressionRootNode
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