forked from extern/nushell
WIP
This commit is contained in:
11
src/parser/hir/binary.rs
Normal file
11
src/parser/hir/binary.rs
Normal 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,
|
||||
}
|
Reference in New Issue
Block a user