nitc :: MEntity :: html_namespace
full_name
decorated with HTML links
# Returns `full_name` decorated with HTML links
fun html_namespace: Template is abstract
src/doc/templates/html_model.nit:86,2--87,41
redef fun html_namespace do
var tpl = new Template
var mpackage = mmodule.mpackage
if mpackage != null and is_intro then
if is_intro then
tpl.add mpackage.html_namespace
tpl.add " $ "
else
tpl.add mmodule.html_namespace
tpl.add " $ "
var intro_mpackage = mclass.intro.mmodule.mpackage
if intro_mpackage != null and mpackage != intro_mpackage then
tpl.add intro_mpackage.html_namespace
tpl.add " :: "
end
end
else
tpl.add mmodule.html_namespace
tpl.add " $ "
end
tpl.add html_link
return tpl
end
src/doc/templates/html_model.nit:156,2--178,4
redef fun html_namespace do return html_link
src/doc/templates/html_model.nit:99,2--45