See create_method_from_property
for more information.
# Creation of a new method (AST and model representation) with the given name.
# See `create_method_from_property` for more information.
fun create_method_from_name(name: String, mclassdef: MClassDef, is_abstract: Bool, msignature: nullable MSignature, visibility: nullable MVisibility): AMethPropdef do
var mproperty = get_mmethod(name, mclassdef, visibility)
return create_method_from_property(mproperty, mclassdef, is_abstract, msignature)
end
src/astbuilder.nit:1058,2--1063,4