Trait Visitor
Source pub trait Visitor {
Show 51 methods
// Provided methods
fn visit_source_unit(&mut self, _source_unit: &SourceUnit) { ... }
fn visit_import_directive(&mut self, _directive: &ImportDirective) { ... }
fn visit_pragma_directive(&mut self, _directive: &PragmaDirective) { ... }
fn visit_block(&mut self, _block: &Block) { ... }
fn visit_statement(&mut self, _statement: &Statement) { ... }
fn visit_expression(&mut self, _expression: &Expression) { ... }
fn visit_function_call(&mut self, _function_call: &FunctionCall) { ... }
fn visit_user_defined_type_name(&mut self, _type_name: &UserDefinedTypeName) { ... }
fn visit_identifier_path(&mut self, _identifier_path: &IdentifierPath) { ... }
fn visit_type_name(&mut self, _type_name: &TypeName) { ... }
fn visit_parameter_list(&mut self, _parameter_list: &ParameterList) { ... }
fn visit_function_definition(&mut self, _definition: &FunctionDefinition) { ... }
fn visit_enum_definition(&mut self, _definition: &EnumDefinition) { ... }
fn visit_error_definition(&mut self, _definition: &ErrorDefinition) { ... }
fn visit_event_definition(&mut self, _definition: &EventDefinition) { ... }
fn visit_struct_definition(&mut self, _definition: &StructDefinition) { ... }
fn visit_modifier_definition(&mut self, _definition: &ModifierDefinition) { ... }
fn visit_variable_declaration(&mut self, _declaration: &VariableDeclaration) { ... }
fn visit_overrides(&mut self, _specifier: &OverrideSpecifier) { ... }
fn visit_user_defined_value_type(
&mut self,
_value_type: &UserDefinedValueTypeDefinition,
) { ... }
fn visit_contract_definition(&mut self, _definition: &ContractDefinition) { ... }
fn visit_using_for(&mut self, _directive: &UsingForDirective) { ... }
fn visit_unary_operation(&mut self, _unary_op: &UnaryOperation) { ... }
fn visit_binary_operation(&mut self, _binary_op: &BinaryOperation) { ... }
fn visit_conditional(&mut self, _conditional: &Conditional) { ... }
fn visit_tuple_expression(&mut self, _tuple_expression: &TupleExpression) { ... }
fn visit_new_expression(&mut self, _new_expression: &NewExpression) { ... }
fn visit_assignment(&mut self, _assignment: &Assignment) { ... }
fn visit_identifier(&mut self, _identifier: &Identifier) { ... }
fn visit_index_access(&mut self, _index_access: &IndexAccess) { ... }
fn visit_index_range_access(
&mut self,
_index_range_access: &IndexRangeAccess,
) { ... }
fn visit_while_statement(&mut self, _while_statement: &WhileStatement) { ... }
fn visit_for_statement(&mut self, _for_statement: &ForStatement) { ... }
fn visit_if_statement(&mut self, _if_statement: &IfStatement) { ... }
fn visit_do_while_statement(
&mut self,
_do_while_statement: &DoWhileStatement,
) { ... }
fn visit_emit_statement(&mut self, _emit_statement: &EmitStatement) { ... }
fn visit_unchecked_block(&mut self, _unchecked_block: &UncheckedBlock) { ... }
fn visit_try_statement(&mut self, _try_statement: &TryStatement) { ... }
fn visit_revert_statement(&mut self, _revert_statement: &RevertStatement) { ... }
fn visit_member_access(&mut self, _member_access: &MemberAccess) { ... }
fn visit_mapping(&mut self, _mapping: &Mapping) { ... }
fn visit_elementary_type_name(
&mut self,
_elementary_type_name: &ElementaryTypeName,
) { ... }
fn visit_literal(&mut self, _literal: &Literal) { ... }
fn visit_function_type_name(
&mut self,
_function_type_name: &FunctionTypeName,
) { ... }
fn visit_array_type_name(&mut self, _array_type_name: &ArrayTypeName) { ... }
fn visit_function_call_options(
&mut self,
_function_call: &FunctionCallOptions,
) { ... }
fn visit_return(&mut self, _return: &Return) { ... }
fn visit_inheritance_specifier(&mut self, _specifier: &InheritanceSpecifier) { ... }
fn visit_modifier_invocation(&mut self, _invocation: &ModifierInvocation) { ... }
fn visit_inline_assembly(&mut self, _assembly: &InlineAssembly) { ... }
fn visit_external_assembly_reference(
&mut self,
_ref: &ExternalInlineAssemblyReference,
) { ... }
}