< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeScanner.java

Print this page

137         scan(tree.init);
138     }
139 
140     public void visitSkip(JCSkip tree) {
141     }
142 
143     public void visitBlock(JCBlock tree) {
144         scan(tree.stats);
145     }
146 
147     public void visitDoLoop(JCDoWhileLoop tree) {
148         scan(tree.body);
149         scan(tree.cond);
150     }
151 
152     public void visitWhileLoop(JCWhileLoop tree) {
153         scan(tree.cond);
154         scan(tree.body);
155     }
156 





157     public void visitForLoop(JCForLoop tree) {
158         scan(tree.init);
159         scan(tree.cond);
160         scan(tree.step);
161         scan(tree.body);
162     }
163 
164     public void visitForeachLoop(JCEnhancedForLoop tree) {
165         scan(tree.var);
166         scan(tree.expr);
167         scan(tree.body);
168     }
169 
170     public void visitLabelled(JCLabeledStatement tree) {
171         scan(tree.body);
172     }
173 
174     public void visitSwitch(JCSwitch tree) {
175         scan(tree.selector);
176         scan(tree.cases);
177     }
178 
179     public void visitCase(JCCase tree) {
180         scan(tree.labels);
181         scan(tree.stats);
182     }
183 




184     public void visitSwitchExpression(JCSwitchExpression tree) {
185         scan(tree.selector);
186         scan(tree.cases);
187     }
188 
189     public void visitSynchronized(JCSynchronized tree) {
190         scan(tree.lock);
191         scan(tree.body);
192     }
193 
194     public void visitTry(JCTry tree) {
195         scan(tree.resources);
196         scan(tree.body);
197         scan(tree.catchers);
198         scan(tree.finalizer);
199     }
200 
201     public void visitCatch(JCCatch tree) {
202         scan(tree.param);
203         scan(tree.body);

137         scan(tree.init);
138     }
139 
140     public void visitSkip(JCSkip tree) {
141     }
142 
143     public void visitBlock(JCBlock tree) {
144         scan(tree.stats);
145     }
146 
147     public void visitDoLoop(JCDoWhileLoop tree) {
148         scan(tree.body);
149         scan(tree.cond);
150     }
151 
152     public void visitWhileLoop(JCWhileLoop tree) {
153         scan(tree.cond);
154         scan(tree.body);
155     }
156 
157     public void visitWithField(JCWithField tree) {
158         scan(tree.field);
159         scan(tree.value);
160     }
161 
162     public void visitForLoop(JCForLoop tree) {
163         scan(tree.init);
164         scan(tree.cond);
165         scan(tree.step);
166         scan(tree.body);
167     }
168 
169     public void visitForeachLoop(JCEnhancedForLoop tree) {
170         scan(tree.var);
171         scan(tree.expr);
172         scan(tree.body);
173     }
174 
175     public void visitLabelled(JCLabeledStatement tree) {
176         scan(tree.body);
177     }
178 
179     public void visitSwitch(JCSwitch tree) {
180         scan(tree.selector);
181         scan(tree.cases);
182     }
183 
184     public void visitCase(JCCase tree) {
185         scan(tree.labels);
186         scan(tree.stats);
187     }
188 
189     public void visitDefaultValue(JCDefaultValue tree) {
190         scan(tree.clazz);
191     }
192 
193     public void visitSwitchExpression(JCSwitchExpression tree) {
194         scan(tree.selector);
195         scan(tree.cases);
196     }
197 
198     public void visitSynchronized(JCSynchronized tree) {
199         scan(tree.lock);
200         scan(tree.body);
201     }
202 
203     public void visitTry(JCTry tree) {
204         scan(tree.resources);
205         scan(tree.body);
206         scan(tree.catchers);
207         scan(tree.finalizer);
208     }
209 
210     public void visitCatch(JCCatch tree) {
211         scan(tree.param);
212         scan(tree.body);
< prev index next >