grammar: unify method syntax
authorJean Privat <jean@pryen.org>
Thu, 18 Sep 2014 13:38:37 +0000 (09:38 -0400)
committerJean Privat <jean@pryen.org>
Thu, 18 Sep 2014 17:04:51 +0000 (13:04 -0400)
commite0b7bb8377554a1eaab028e16922632f289487fa
tree249ea2f7af11d8a1ac32c935930f2dbc4c90fd27
parent95d7658c444ceb1a6eb623a9cca780e2485bc674
grammar: unify method syntax

Only one APropdef subclass for method: AMethPropdef

Specific method definitions are with annotations:

* new annotation `abstract` (still a keyword because `abstract class`)
* activate annotation `extern` (till a keyword because `extern class`)
* intern is no more a reserved keyword

Signed-off-by: Jean Privat <jean@pryen.org>
src/parser/nit.sablecc3xx
src/parser/parser_nodes.nit