tests: error_syntax errors on `? now
[nit.git] / contrib / neo_doxygen / src / model / inner_class.nit
index 91ee697..9476739 100644 (file)
@@ -80,8 +80,8 @@ end
 
 # Implements `declare_class`.
 redef class ClassCompound
-       redef fun declare_class(id, full_name, prot) do
-               class_def.declare_class(id, full_name, prot)
+       redef fun declare_class(id, name, prot) do
+               class_def.declare_class(id, name, prot)
        end
 end
 
@@ -93,9 +93,8 @@ redef class ClassDef
        # All `InnerClass` entities registred here are automatically added to the
        # graph with the `ClassDef`.
        #
-       # To ensure that the `full_name` of each `InnerClass` entity is correctly
-       # set and that each inner class will be correctly linked, `declare_class`
-       # should be used to add each inner class.
+       # To ensure that each inner class will be correctly linked,
+       # `declare_class` should be used to add each inner class.
        var inner_classes: SimpleCollection[InnerClass] = new Array[InnerClass]
 
        # Declare an inner class.
@@ -103,11 +102,11 @@ redef class ClassDef
        # Parameters:
        #
        # * `id`: `model_id` of the inner class definition.
-       # * `full_name`: qualified name of the inner class definition.
+       # * `name`: name of the inner class definition.
        # * `prot`: visibility (proctection).
-       fun declare_class(id: String, full_name: String, prot: String) do
+       fun declare_class(id: String, name: String, prot: String) do
                var member = new InnerClass(graph, self, id)
-               member.full_name = full_name
+               member.name = name
                member.visibility = prot
                members.add member
                inner_classes.add member