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
self.info(" phase: {phase.class_name} for {npropdef.location}", 4)
assert phase.toolcontext == self
# @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