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

Print this page




 130     public void visitLabelled(JCLabeledStatement tree) {
 131         scan(tree.body);
 132     }
 133 
 134     public void visitSwitch(JCSwitch tree) {
 135         scan(tree.selector);
 136         scan(tree.cases);
 137     }
 138 
 139     public void visitCase(JCCase tree) {
 140         scan(tree.pat);
 141         scan(tree.stats);
 142     }
 143 
 144     public void visitSynchronized(JCSynchronized tree) {
 145         scan(tree.lock);
 146         scan(tree.body);
 147     }
 148 
 149     public void visitTry(JCTry tree) {

 150         scan(tree.body);
 151         scan(tree.catchers);
 152         scan(tree.finalizer);
 153     }
 154 
 155     public void visitCatch(JCCatch tree) {
 156         scan(tree.param);
 157         scan(tree.body);
 158     }
 159 
 160     public void visitConditional(JCConditional tree) {
 161         scan(tree.cond);
 162         scan(tree.truepart);
 163         scan(tree.falsepart);
 164     }
 165 
 166     public void visitIf(JCIf tree) {
 167         scan(tree.cond);
 168         scan(tree.thenpart);
 169         scan(tree.elsepart);




 130     public void visitLabelled(JCLabeledStatement tree) {
 131         scan(tree.body);
 132     }
 133 
 134     public void visitSwitch(JCSwitch tree) {
 135         scan(tree.selector);
 136         scan(tree.cases);
 137     }
 138 
 139     public void visitCase(JCCase tree) {
 140         scan(tree.pat);
 141         scan(tree.stats);
 142     }
 143 
 144     public void visitSynchronized(JCSynchronized tree) {
 145         scan(tree.lock);
 146         scan(tree.body);
 147     }
 148 
 149     public void visitTry(JCTry tree) {
 150         scan(tree.resources);
 151         scan(tree.body);
 152         scan(tree.catchers);
 153         scan(tree.finalizer);
 154     }
 155 
 156     public void visitCatch(JCCatch tree) {
 157         scan(tree.param);
 158         scan(tree.body);
 159     }
 160 
 161     public void visitConditional(JCConditional tree) {
 162         scan(tree.cond);
 163         scan(tree.truepart);
 164         scan(tree.falsepart);
 165     }
 166 
 167     public void visitIf(JCIf tree) {
 168         scan(tree.cond);
 169         scan(tree.thenpart);
 170         scan(tree.elsepart);