syn_solidity/
visit.rs

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