nitdoc: remove unused plugin "Copy to Clipboard"
[nit.git] / src / phase.nit
index df766e1..3a93084 100644 (file)
@@ -60,6 +60,9 @@ redef class ToolContext
                                end
                                errcount = self.error_count
                                for nclassdef in nmodule.n_classdefs do
+                                       self.info(" phase: {phase.class_name} for {nclassdef.location}", 3)
+                                       assert phase.toolcontext == self
+                                       phase.process_nclassdef(nclassdef)
                                        for npropdef in nclassdef.n_propdefs do
                                                assert phase.toolcontext == self
                                                phase.process_npropdef(npropdef)
@@ -123,6 +126,11 @@ abstract class Phase
        # @toimplement
        fun process_nmodule(nmodule: AModule) do end
 
+       # Specific actions to execute on the tree of a class definition
+       # Note that the order of the visit is the one of the file
+       # @toimplement
+       fun process_nclassdef(nclassdef: AClassdef) do end
+
        # Specific actions to execute on the tree of a property
        # Note that the order of the visit is the one of the file
        # @toimplement