Merge branch 'll-and-gg-operators' into wip
[nit.git] / src / parser / parser_nodes.nit
index aa0366f..b5975c4 100644 (file)
@@ -45,7 +45,7 @@ end
 class TComment
 special Token
 end
-class TKwpackage
+class TKwmodule
 special Token
 end
 class TKwimport
@@ -317,14 +317,14 @@ end
 
 class AModule
 special Prod
-    readable var _n_packagedecl: nullable APackagedecl = null
+    readable var _n_moduledecl: nullable AModuledecl = null
     readable var _n_imports: List[AImport] = new List[AImport]
     readable var _n_classdefs: List[AClassdef] = new List[AClassdef]
 end
-class APackagedecl
+class AModuledecl
 special Prod
     readable var _n_doc: nullable ADoc = null
-    readable var _n_kwpackage: TKwpackage
+    readable var _n_kwmodule: TKwmodule
     readable var _n_id: TId
 end
 class AImport special Prod end