Parse binary operators
For now, they're all left associative.
This commit is contained in:
parent
63f8026007
commit
408219073a
10 changed files with 99 additions and 39 deletions
|
|
@ -20,6 +20,14 @@ pub enum BinOp {
|
|||
Eq,
|
||||
/// `!=`
|
||||
Neq,
|
||||
/// `>`
|
||||
Gt,
|
||||
/// `>=`
|
||||
Ge,
|
||||
/// `<`
|
||||
Lt,
|
||||
/// `<=`
|
||||
Le,
|
||||
/// `and`
|
||||
And,
|
||||
/// `or`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue