syn_solidity/
visit_mut.rs

1//! Syntax tree traversal to mutate an exclusive borrow of a syntax tree in
2//! place.
3//!
4//! Each method of the [`VisitMut`] trait is a hook that can be overridden to
5//! customize the behavior when visiting the corresponding type of node. By
6//! default, every method recursively visits the substructure of the input by
7//! invoking the right visitor method of each of its fields.
8
9#![allow(unused_variables)]
10
11use super::*;
12
13make_visitor! {
14    /// Syntax tree traversal to mutate an exclusive borrow of a syntax tree in
15    /// place.
16    ///
17    /// See the [module documentation] for details.
18    ///
19    /// [module documentation]: self
20    trait VisitMut is mut;
21}