{html_name}{signature.to_html(dctx, true)}
\n") dctx.add("LP: {self.mmmodule.html_link(dctx)}::{self.local_class.html_link(dctx)}::{self.html_link(dctx)}
") if is_redef then dctx.add("redef ") @@ -1067,7 +1096,7 @@ redef class MMLocalProperty dctx.add("::{html_name}") end dctx.add("{global.intro.doc.to_html}") + dctx.add("
{global.intro.doc.to_html}") + dctx.add("") + dctx.add("CancelCommit") + dctx.add("") end var tlmods = new Array[MMModule] @@ -1099,7 +1131,7 @@ redef class MMLocalProperty var tlp if tm.global_classes.has(lc.global) then tlp = tm[lc.global][self.global] - assert lps.has(tlp) + #assert lps.has(tlp) # FIXME What this line is used for? else if tm.global_classes.has(self.local_class.global) then # Self is the inherited property. Process it tlp = tm[self.local_class.global][self.global] @@ -1114,12 +1146,22 @@ redef class MMLocalProperty dctx.add("
In module {tm.html_link(dctx)} :
") end - #dctx.add("TLP: {tm} x {lc} : {tlp.full_name}
") - var doc = tlp.doc + var n = tlp.node if doc != null and (not introdoc or global.intro.doc != doc) then - dctx.add("{doc.to_html}") + if n != null then + var l = n.location + dctx.add("
{doc.to_html}") + end + else if not is_redef then + if n != null then + var l = n.location + dctx.add("New comment\n") + end end + dctx.add("") + dctx.add("CancelCommit") + dctx.add("") dctx.add("
") if tlp.local_class.global != lc.global then dctx.add("inherited from {tlp.local_class.html_link(dctx)} ") @@ -1127,7 +1169,6 @@ redef class MMLocalProperty if tm != tlp.mmmodule then dctx.add("defined by the module {tlp.mmmodule.html_link(dctx)} ") end - var n = tlp.node if n != null then var l = n.location dctx.show_source(l) @@ -1149,11 +1190,6 @@ redef class MMLocalProperty var l = n.location dctx.show_source(l) end - - #var doc = lp.doc - #if doc != null and (not introdoc or global.intro.doc != doc) then - # dctx.add("
{doc.to_html}") - #end end dctx.close_stage dctx.add("") @@ -1404,11 +1440,15 @@ redef class MMLocalClass dctx.add("(unexported) ") end dctx.add("{kind} {global.intro.mmmodule.toplevel_owner.html_link(dctx)}::{name}
{doc.to_html}\n") + var l = doc.location + dctx.add("
{doc.to_html}\n") + dctx.add("") + dctx.add("CancelCommit") + dctx.add("") end var cla = new HashSet[MMLocalClass]