grammar: unify method syntax
[nit.git] / src / parser / parser_nodes.nit
index 3cc5296..c58937d 100644 (file)
@@ -851,7 +851,7 @@ class AAttrPropdef
 end
 
 # A definition of all kind of method (including constructors)
-abstract class AMethPropdef
+class AMethPropdef
        super APropdef
        var n_kwmeth: nullable TKwmeth = null is writable
        var n_kwinit: nullable TKwinit = null is writable
@@ -1846,6 +1846,9 @@ end
 class AKwimportAtid
        super AAtid
 end
+class AKwabstractAtid
+       super AAtid
+end
 
 # The root of the AST
 class Start