pub struct Binary {
pub operator: TokenKind,
pub left: Box<Expression>,
pub right: Box<Expression>,
pub span: Span,
}
Expand description
Represents a binary expression in the SAP language.
For example: x + 5
Fields§
§operator: TokenKind
§left: Box<Expression>
§right: Box<Expression>
§span: Span
Trait Implementations§
impl StructuralPartialEq for Binary
Auto Trait Implementations§
impl Freeze for Binary
impl RefUnwindSafe for Binary
impl Send for Binary
impl Sync for Binary
impl Unpin for Binary
impl UnwindSafe for Binary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more