Class Solidity_visitor.init_ast_visitor

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.

method visitBinaryOperator : Solidity_ast.binary_operator -> action
method visitBool : bool -> action
method visitChar : char -> action
method visitCompareOperator : Solidity_ast.compare_operator -> action
method visitContractDef : Solidity_ast.contract_definition -> action
method visitContractKind : Solidity_ast.contract_kind -> action
method visitContractPart : Solidity_ast.contract_part -> action
method visitElementaryType : Solidity_ast.elementary_type -> action
method visitEventDef : Solidity_ast.event_definition -> action
method visitExpression : Solidity_ast.expression -> action
method visitFunMutability : Solidity_ast.fun_mutability -> action
method visitFunctionCallArguments : Solidity_ast.function_call_arguments -> action
method visitFunctionDef : Solidity_ast.function_definition -> action
method visitFunctionType : Solidity_ast.function_type -> action
method visitIdent : Solidity_common.Ident.t -> action
method visitImportDirective : Solidity_ast.import_directive -> action
method visitImportSymbols : Solidity_ast.import_symbols -> action
method visitInt : int -> action
method visitList : 'a list -> action
method visitLongIdent : 'kind Solidity_common.LongIdent.t -> action
method visitModifierDef : Solidity_ast.modifier_definition -> action
method visitNode : 'a Solidity_common.node -> action
method visitNumberUnit : Solidity_ast.number_unit -> action
method visitOption : 'a option -> action
method visitQ : Q.t -> action
method visitSourceUnit : Solidity_ast.source_unit -> action
method visitStateVariableDef : Solidity_ast.state_variable_definition -> action
method visitStatement : Solidity_ast.statement -> action
method visitStorageLocation : Solidity_ast.storage_location -> action
method visitString : string -> action
method visitType : Solidity_ast.type_ -> action
method visitTypeDef : Solidity_ast.type_definition -> action
method visitUnaryOperator : Solidity_ast.unary_operator -> action
method visitVarMutability : Solidity_ast.var_mutability -> action
method visitVariableDef : Solidity_ast.variable_definition -> action
method visitVisibility : Solidity_ast.visibility -> action
method getAnnot : unit -> Solidity_common.annot option
method getPos : unit -> Solidity_common.pos option
method setAnnot : Solidity_common.annot option -> unit
method setPos : Solidity_common.pos option -> unit