parser: add boolean operator `implies`
[nit.git] / src / parser / parser_nodes.nit
index 7b98fc7..582be01 100644 (file)
@@ -313,6 +313,9 @@ end
 class TKwor
        super TokenKeyword
 end
+class TKwimplies
+       super TokenKeyword
+end
 class TKwnot
        super TokenKeyword
 end
@@ -1212,6 +1215,13 @@ class AOrElseExpr
        readable writable var _n_expr2: AExpr
 end
 
+# A `implies` expression
+class AImpliesExpr
+       super ABoolExpr
+       readable writable var _n_expr: AExpr
+       readable writable var _n_expr2: AExpr
+end
+
 # A `not` expression
 class ANotExpr
        super ABoolExpr