Solidity_visitorSourceVisitors are objects providing utils for exhaustively passing through the Solidity AST.
The different kind of actions to perform after each visit
The AST visitor. Each method is called when reaching an element of the corresponding type in the AST.
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.
val visitFunctionDefNode :
ast_visitor ->
Solidity_ast.function_definition Solidity_common.node ->
unitval visitModifierDefNode :
ast_visitor ->
Solidity_ast.modifier_definition Solidity_common.node ->
unit