diff options
Diffstat (limited to 'src/parse/ast/nodes.rs')
| -rw-r--r-- | src/parse/ast/nodes.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parse/ast/nodes.rs b/src/parse/ast/nodes.rs index bffaea3..2bf3f17 100644 --- a/src/parse/ast/nodes.rs +++ b/src/parse/ast/nodes.rs @@ -14,6 +14,8 @@ pub enum BinaryOperator { Gte, Lt, Lte, + And, + Or, Assign, ConstAssign, Dot, @@ -32,6 +34,8 @@ impl BinaryOperator { OpGt => Self::Gt, OpLte => Self::Lte, OpGte => Self::Gte, + OpAnd => Self::And, + OpOr => Self::Or, Assign => Self::Assign, ConstAssign => Self::ConstAssign, Dot => Self::Dot, |
