From: Jean-Christophe Beaupré Date: Mon, 1 Dec 2014 19:32:43 +0000 (-0500) Subject: neo_doxygen: Homogenize the style of the conditions in `compounddef`. X-Git-Tag: v0.7~89^2 X-Git-Url: http://nitlanguage.org neo_doxygen: Homogenize the style of the conditions in `compounddef`. Signed-off-by: Jean-Christophe Beaupré --- diff --git a/contrib/neo_doxygen/src/doxml/compounddef.nit b/contrib/neo_doxygen/src/doxml/compounddef.nit index 5f00313..de29397 100644 --- a/contrib/neo_doxygen/src/doxml/compounddef.nit +++ b/contrib/neo_doxygen/src/doxml/compounddef.nit @@ -107,7 +107,7 @@ class CompoundDefListener end else if "memberdef" == local_name then read_member(atts) - else if local_name == "sectiondef" then + else if "sectiondef" == local_name then member_defaults = section_kinds[get_required(atts, "kind")] if member_defaults.is_special then super # TODO @@ -120,17 +120,17 @@ class CompoundDefListener end redef fun end_dox_element(local_name: String) do - if local_name == "compoundname" then + if "compoundname" == local_name then compound.full_name = text.to_s - else if local_name == "innerclass" then + else if "innerclass" == local_name then compound.declare_class(refid, text.to_s, prot) - else if local_name == "innernamespace" then + else if "innernamespace" == local_name then compound.declare_namespace(refid, text.to_s) else if "memberdef" == local_name then if not (memberdef.member isa UnknownMember) then compound.declare_member(memberdef.member) end - else if local_name == "basecompoundref" then + else if "basecompoundref" == local_name then compound.declare_super(refid, text.to_s, prot, virt) else if "param" == local_name and compound isa ClassCompound then compound.as(ClassCompound).add_type_parameter(param_listener.parameter)