< prev index next >

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

Print this page




 282         scan(tree.lhs);
 283         scan(tree.rhs);
 284     }
 285 
 286     public void visitUnary(JCUnary tree) {
 287         scan(tree.arg);
 288     }
 289 
 290     public void visitBinary(JCBinary tree) {
 291         scan(tree.lhs);
 292         scan(tree.rhs);
 293     }
 294 
 295     public void visitTypeCast(JCTypeCast tree) {
 296         scan(tree.clazz);
 297         scan(tree.expr);
 298     }
 299 
 300     public void visitTypeTest(JCInstanceOf tree) {
 301         scan(tree.expr);
 302         scan(tree.clazz);





 303     }
 304 
 305     public void visitIndexed(JCArrayAccess tree) {
 306         scan(tree.indexed);
 307         scan(tree.index);
 308     }
 309 
 310     public void visitSelect(JCFieldAccess tree) {
 311         scan(tree.selected);
 312     }
 313 
 314     public void visitReference(JCMemberReference tree) {
 315         scan(tree.expr);
 316         scan(tree.typeargs);
 317     }
 318 
 319     public void visitIdent(JCIdent tree) {
 320     }
 321 
 322     public void visitLiteral(JCLiteral tree) {




 282         scan(tree.lhs);
 283         scan(tree.rhs);
 284     }
 285 
 286     public void visitUnary(JCUnary tree) {
 287         scan(tree.arg);
 288     }
 289 
 290     public void visitBinary(JCBinary tree) {
 291         scan(tree.lhs);
 292         scan(tree.rhs);
 293     }
 294 
 295     public void visitTypeCast(JCTypeCast tree) {
 296         scan(tree.clazz);
 297         scan(tree.expr);
 298     }
 299 
 300     public void visitTypeTest(JCInstanceOf tree) {
 301         scan(tree.expr);
 302         scan(tree.pattern);
 303     }
 304 
 305     public void visitBindingPattern(JCBindingPattern tree) {
 306         if (tree.vartype != null)
 307             scan(tree.vartype);
 308     }
 309 
 310     public void visitIndexed(JCArrayAccess tree) {
 311         scan(tree.indexed);
 312         scan(tree.index);
 313     }
 314 
 315     public void visitSelect(JCFieldAccess tree) {
 316         scan(tree.selected);
 317     }
 318 
 319     public void visitReference(JCMemberReference tree) {
 320         scan(tree.expr);
 321         scan(tree.typeargs);
 322     }
 323 
 324     public void visitIdent(JCIdent tree) {
 325     }
 326 
 327     public void visitLiteral(JCLiteral tree) {


< prev index next >