nitc :: AMethPropdef :: make
private init make(n_visibility: nullable AVisibility,
tk_redef: nullable TKwredef,
mmethoddef: nullable MMethodDef,
n_signature: nullable ASignature,
n_annotations: nullable AAnnotations,
n_extern_calls: nullable AExternCalls,
n_extern_code_block: nullable AExternCodeBlock,
n_block: nullable AExpr)
do
var n_tid = new TId
var n_methid = new AIdMethid.init_aidmethid(n_tid)
if n_signature == null then n_signature = new ASignature
if n_visibility == null then n_visibility = new APublicVisibility
self.init_amethpropdef(null,tk_redef,n_visibility,new TKwmeth,null,null,null,n_methid,n_signature,n_annotations,n_extern_calls,n_extern_code_block,new TKwdo,n_block,new TKwend)
self.mpropdef = mmethoddef
if mpropdef != null then self.location = mmethoddef.location
end
src/astbuilder.nit:404,2--420,4