syntax: add 'loop' construction
[nit.git] / src / parser / parser_nodes.nit
index 4c41566..573c12a 100644 (file)
@@ -123,6 +123,9 @@ end
 class TKwwhile
 special Token
 end
+class TKwloop
+special Token
+end
 class TKwfor
 special Token
 end
@@ -628,6 +631,12 @@ special ALabelable
     readable writable var _n_kwdo: TKwdo
     readable writable var _n_block: nullable AExpr = null
 end
+class ALoopExpr
+special AExpr
+special ALabelable
+    readable writable var _n_kwloop: TKwloop
+    readable writable var _n_block: nullable AExpr = null
+end
 class AForExpr
 special AExpr
 special ALabelable