nitc :: MEntity :: complete_mdoc
# Doc to use in completion private fun complete_mdoc: nullable MDoc do return mdoc
redef fun complete_mdoc do var target_constructor = target_constructor assert target_constructor != null if target_constructor.name != "init" and target_constructor.name != "new" then return target_constructor.mdoc end return mdoc end
redef fun complete_mdoc do return mclass.intro.mdoc