This commit is contained in:
Jonathan Turner
2019-06-22 15:43:37 +12:00
parent baeb192f12
commit 9ae9beb94a
57 changed files with 2848 additions and 1224 deletions

11
src/parser/hir/binary.rs Normal file
View File

@ -0,0 +1,11 @@
use crate::parser::{hir::Expression, Operator, Spanned};
use derive_new::new;
use getset::Getters;
#[derive(Debug, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Getters, new)]
#[get = "crate"]
pub struct Binary {
left: Expression,
op: Spanned<Operator>,
right: Expression,
}