added some tests
This commit is contained in:
parent
8df1f6b719
commit
89c554abdb
5 changed files with 58 additions and 29 deletions
|
|
@ -118,8 +118,8 @@ pub struct Var {
|
|||
/// Example: `x++`
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub struct Unary {
|
||||
pub operand: Box<Expr>,
|
||||
pub operator: UnaryOp,
|
||||
pub operand: Box<Expr>,
|
||||
}
|
||||
|
||||
/// Example: `x++`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue