Expand description
Specifies a visitor trait following the visitor pattern because it’s easier to walk the entire tree just by some nodes without writing some functions to walk through everything (yeah i really hate OOP patterns but this time it’s really useful.)
All of these functions are implemented so we can easily change these default implementations. use kind_span::{Range, SyntaxCtxIndex};
Traits§
Functions§
- walk_
app_ binding - walk_
argument - walk_
attr - walk_
attr_ style - walk_
binding - walk_
book - walk_
case - walk_
case_ binding - walk_
constructor - walk_
destruct - walk_
entry - walk_
expr - walk_
ident - walk_
literal - walk_
match - walk_
module - walk_
pat - walk_
pat_ ident - walk_
qualified_ ident - walk_
range - walk_
rule - walk_
sttm - walk_
substitution - walk_
syntax_ ctx - walk_
top_ level