diff options
author | David Li <li.davidm96@gmail.com> | 2017-11-04 19:38:55 -0400 |
---|---|---|
committer | David Li <li.davidm96@gmail.com> | 2017-11-04 19:38:55 -0400 |
commit | 13e7a55d3924f77fccf8b97a2373dfb29eba6e5a (patch) | |
tree | fac4315ebe041232ffc6fa8ea4171f09bad9ae59 /src/ast.rs | |
parent | 9891204b026c7660676f456128c94b01ae7f39cf (diff) |
Parse logical operators
Diffstat (limited to 'src/ast.rs')
-rw-r--r-- | src/ast.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -38,6 +38,7 @@ pub struct Program(pub Box<WithLocation<Expression>>); pub enum UnaryOp { Pos, Neg, + Not, } #[derive(Debug)] @@ -53,6 +54,8 @@ pub enum BinOp { Lt, Ge, Le, + And, + Or, } #[derive(Debug)] |