Extracted construction of carts to separate function
This commit is contained in:
parent
fa87efa7e8
commit
1f8d6a8ec2
|
@ -197,7 +197,7 @@ impl<'source> Parser<'source> {
|
||||||
},
|
},
|
||||||
start..self.lexer.span().end,
|
start..self.lexer.span().end,
|
||||||
)),
|
)),
|
||||||
None => todo!("cart construction"),
|
None => Ok(Expr::new(self.cart_flow()?, start..self.lexer.span().end)),
|
||||||
},
|
},
|
||||||
|
|
||||||
// Operations
|
// Operations
|
||||||
|
@ -231,6 +231,11 @@ impl<'source> Parser<'source> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Flow for creating carts
|
||||||
|
fn cart_flow(&mut self) -> Result<ExprKind, Error> {
|
||||||
|
todo!("cart construction")
|
||||||
|
}
|
||||||
|
|
||||||
/// Flow for operators
|
/// Flow for operators
|
||||||
///
|
///
|
||||||
/// Generates operation from LHS buffer and next expression as RHS
|
/// Generates operation from LHS buffer and next expression as RHS
|
||||||
|
|
Loading…
Reference in a new issue