From bfeacdbbc4127f21d53c86ce8d8d23bb2c84bde7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Christophe=20Beaupr=C3=A9?= Date: Mon, 1 Dec 2014 14:32:43 -0500 Subject: [PATCH] neo_doxygen: Homogenize the style of the conditions in `compounddef`. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean-Christophe Beaupré --- contrib/neo_doxygen/src/doxml/compounddef.nit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) -- 1.7.9.5