Struct boreal_parser::Expression
source · pub struct Expression {
pub expr: ExpressionKind,
pub span: Range<usize>,
}Expand description
A parsed expression with associated span
Fields§
§expr: ExpressionKindKind of the expression.
span: Range<usize>Span of the whole expression in the input.
Trait Implementations§
source§impl Clone for Expression
impl Clone for Expression
source§fn clone(&self) -> Expression
fn clone(&self) -> Expression
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 more