chapter 9 in rust
This commit is contained in:
parent
1a485ebcb1
commit
f82919414e
5 changed files with 271 additions and 35 deletions
|
@ -18,6 +18,11 @@ pub enum Expression {
|
|||
Literal {
|
||||
value: token::Literal,
|
||||
},
|
||||
Logical {
|
||||
left: Box<Expression>,
|
||||
operator: Token,
|
||||
right: Box<Expression>,
|
||||
},
|
||||
Unary {
|
||||
operator: Token,
|
||||
right: Box<Expression>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue