astbuilder: Make the construction of the `AMethPropdef` more generic
authorFlorian Deljarry <deljarry.florian@gmail.com>
Tue, 13 Aug 2019 15:49:46 +0000 (11:49 -0400)
committerFlorian Deljarry <deljarry.florian@gmail.com>
Tue, 13 Aug 2019 16:03:14 +0000 (12:03 -0400)
commit9c0725293b7915b1c26f851a787093499bc9adbc
tree2cc27adff2f7c276a76fc61ad7e2e67d569965cd
parent0a24d03a477060d33488c18d56f769898ad20573
astbuilder: Make the construction of the `AMethPropdef` more generic

Change the MMethodDef to nullable MMethodDef to reduce model dependency.

Change the APublicVisibility to AVisibility to be able to create private or protected method.

Signed-off-by: Florian Deljarry <deljarry.florian@gmail.com>
src/astbuilder.nit