syn_solidity/
visit_mut.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! Syntax tree traversal to mutate an exclusive borrow of a syntax tree in
//! place.
//!
//! Each method of the [`VisitMut`] trait is a hook that can be overridden to
//! customize the behavior when visiting the corresponding type of node. By
//! default, every method recursively visits the substructure of the input by
//! invoking the right visitor method of each of its fields.

#![allow(unused_variables)]

use super::*;

make_visitor! {
    /// Syntax tree traversal to mutate an exclusive borrow of a syntax tree in
    /// place.
    ///
    /// See the [module documentation] for details.
    ///
    /// [module documentation]: self
    trait VisitMut is mut;
}