do
var res = new HInfoBox(v, "module {name}")
res.href = v.hrefto(self)
+ if not v.show_infobox then return res
res.new_field("module").add(linkto(v))
add_doc_to_infobox(res)
if in_importation.greaters.length > 1 then
do
var res = new HInfoBox(v, "class {mclass.name}")
res.href = v.hrefto(self)
+ if not v.show_infobox then return res
if is_intro then
res.new_field("class").text(mclass.name)
else
do
var res = new HInfoBox(v, to_s)
res.href = v.hrefto(self)
+ if not v.show_infobox then return res
if self isa MMethodDef then
var msignature = self.msignature
if msignature != null then res.new_field("fun").append(mproperty.name).add msignature.linkto(v)
do
var res = new HInfoBox(v, to_s)
res.href = v.hrefto(self)
+ if not v.show_infobox then return res
res.new_field("class").add mclass.intro.linkto(v)
add_doc_to_infobox(res)
return res
do
var res = new HInfoBox(v, to_s)
res.href = v.hrefto(mproperty)
+ if not v.show_infobox then return res
var p = mproperty
res.new_field("virtual type").add p.intro.linkto(v)
add_doc_to_infobox(res)
redef fun infobox(v)
do
var res = new HInfoBox(v, to_s)
+ if not v.show_infobox then return res
res.new_field("parameter type").append("{name} from class ").add mclass.intro.linkto(v)
return res
end
do
var res = new HInfoBox(v, "call {mpropdef}")
res.href = v.hrefto(mpropdef)
+ if not v.show_infobox then return res
res.new_field("call").add(mpropdef.linkto(v)).add(msignature.linkto(v))
if mpropdef.is_intro then
else