Extracted construction of carts to separate function
This commit is contained in:
parent
e7bd81e12a
commit
bf2e73a5d1
|
@ -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