nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gamnit: don't use `sprites_to_update` after a GPU buffer resize
[nit.git]
/
src
/
phase.nit
diff --git
a/src/phase.nit
b/src/phase.nit
index
2d400c9
..
2a9d7b8
100644
(file)
--- a/
src/phase.nit
+++ b/
src/phase.nit
@@
-146,6
+146,7
@@
redef class ToolContext
if errcount != self.error_count then
self.check_errors
end
if errcount != self.error_count then
self.check_errors
end
+ phase.process_nmodule_after(nmodule)
end
self.check_errors
end
end
self.check_errors
end
@@
-254,4
+255,10
@@
abstract class Phase
# Note that the order of the visit is the one of the file
# @toimplement
fun process_annotated_node(node: ANode, nat: AAnnotation) do end
# Note that the order of the visit is the one of the file
# @toimplement
fun process_annotated_node(node: ANode, nat: AAnnotation) do end
+
+ # Specific actions to execute on the whole tree of a module
+ # Called at the end of a phase on a module
+ # Last called hook
+ # @toimplement
+ fun process_nmodule_after(nmodule: AModule) do end
end
end