feat: expose parser in argus

This commit is contained in:
Anand Balakrishnan 2023-10-04 14:46:32 -07:00
parent 50d5a0a78a
commit f97d593926
7 changed files with 241 additions and 66 deletions

View file

@ -119,7 +119,8 @@ pub enum ExprRef<'a> {
}
/// An expression (either [`BoolExpr`] or [`NumExpr`])
#[derive(Clone, Debug, derive_more::From, derive_more::TryInto)]
#[derive(Clone, Debug)]
#[enum_dispatch(AnyExpr)]
pub enum Expr {
/// A reference to a [`BoolExpr`]
Bool(BoolExpr),