1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
b0VIM 7.4 3�tUR��y erickt Erick-Tryzelaar-MBP.local ~erickt/projects/rust/rust-syntex/syntex_syntax/src/visit.rs utf-8
3210 #"! U tp
Q _ R ` � h f y ] �
f < j � ^
j ad A � Q � { X U � � M ) ( �
�
C
� } - � � � f �
�
�
�
�
�
�
�
�
i
h
Q
;
� � � y x e N ? = < � � k ' # � � W & � � � s H B � � U � � N � � W � p L F � � � fn visit_impl_item(&mut self, ii: &'v ImplItem) { walk_impl_item(self, ii) } fn visit_trait_item(&mut self, ti: &'v TraitItem) { walk_trait_item(self, ti) } } walk_fn(self, fk, fd, b, s) fn visit_fn(&mut self, fk: FnKind<'v>, fd: &'v FnDecl, b: &'v Block, s: Span, _: NodeId) { fn visit_generics(&mut self, g: &'v Generics) { walk_generics(self, g) } fn visit_ty(&mut self, t: &'v Ty) { walk_ty(self, t) } fn visit_expr_post(&mut self, _ex: &'v Expr) { } fn visit_expr(&mut self, ex: &'v Expr) { walk_expr(self, ex) } fn visit_decl(&mut self, d: &'v Decl) { walk_decl(self, d) } fn visit_pat(&mut self, p: &'v Pat) { walk_pat(self, p) } fn visit_arm(&mut self, a: &'v Arm) { walk_arm(self, a) } fn visit_stmt(&mut self, s: &'v Stmt) { walk_stmt(self, s) } fn visit_block(&mut self, b: &'v Block) { walk_block(self, b) } fn visit_local(&mut self, l: &'v Local) { walk_local(self, l) } fn visit_item(&mut self, i: &'v Item) { walk_item(self, i) } fn visit_foreign_item(&mut self, i: &'v ForeignItem) { walk_foreign_item(self, i) } fn visit_mod(&mut self, m: &'v Mod, _s: Span, _n: NodeId) { walk_mod(self, m) } } self.visit_name(span, ident.name); fn visit_ident(&mut self, span: Span, ident: Ident) { } // Nothing to do. fn visit_name(&mut self, _span: Span, _name: Name) { pub trait Visitor<'v> : Sized { /// new default implementation gets introduced.) /// to monitor future changes to `Visitor` in case a new method with a /// explicitly, you need to override each method. (And you also need /// If you want to ensure that your code handles every variant ///