type action =
Stops the visit of the current branch*)
Visits the branch children*)
Visits the branch children and, once the visit is finished, calls the function*)
The different kind of actions to perform after each visit
class virtual ast_visitor : object ... end
The AST visitor. Each method is called when reaching an element of the corresponding type in the AST.
class init_ast_visitor : object ... end
A dummy visitor. Visits the whole AST and does nothing. You may inherit this visitor and redefine its methods to avoid redefining all the methods.
Functions visiting the AST.