< prev index next >

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

Print this page




 337 
 338     public void visitUnary(JCUnary tree) {
 339         tree.arg = translate(tree.arg);
 340         result = tree;
 341     }
 342 
 343     public void visitBinary(JCBinary tree) {
 344         tree.lhs = translate(tree.lhs);
 345         tree.rhs = translate(tree.rhs);
 346         result = tree;
 347     }
 348 
 349     public void visitTypeCast(JCTypeCast tree) {
 350         tree.clazz = translate(tree.clazz);
 351         tree.expr = translate(tree.expr);
 352         result = tree;
 353     }
 354 
 355     public void visitTypeTest(JCInstanceOf tree) {
 356         tree.expr = translate(tree.expr);
 357         tree.clazz = translate(tree.clazz);





 358         result = tree;
 359     }
 360 
 361     public void visitIndexed(JCArrayAccess tree) {
 362         tree.indexed = translate(tree.indexed);
 363         tree.index = translate(tree.index);
 364         result = tree;
 365     }
 366 
 367     public void visitSelect(JCFieldAccess tree) {
 368         tree.selected = translate(tree.selected);
 369         result = tree;
 370     }
 371 
 372     public void visitReference(JCMemberReference tree) {
 373         tree.expr = translate(tree.expr);
 374         result = tree;
 375     }
 376 
 377     public void visitIdent(JCIdent tree) {




 337 
 338     public void visitUnary(JCUnary tree) {
 339         tree.arg = translate(tree.arg);
 340         result = tree;
 341     }
 342 
 343     public void visitBinary(JCBinary tree) {
 344         tree.lhs = translate(tree.lhs);
 345         tree.rhs = translate(tree.rhs);
 346         result = tree;
 347     }
 348 
 349     public void visitTypeCast(JCTypeCast tree) {
 350         tree.clazz = translate(tree.clazz);
 351         tree.expr = translate(tree.expr);
 352         result = tree;
 353     }
 354 
 355     public void visitTypeTest(JCInstanceOf tree) {
 356         tree.expr = translate(tree.expr);
 357         tree.pattern = translate(tree.pattern);
 358         result = tree;
 359     }
 360 
 361     public void visitBindingPattern(JCBindingPattern tree) {
 362         tree.vartype = translate(tree.vartype);
 363         result = tree;
 364     }
 365 
 366     public void visitIndexed(JCArrayAccess tree) {
 367         tree.indexed = translate(tree.indexed);
 368         tree.index = translate(tree.index);
 369         result = tree;
 370     }
 371 
 372     public void visitSelect(JCFieldAccess tree) {
 373         tree.selected = translate(tree.selected);
 374         result = tree;
 375     }
 376 
 377     public void visitReference(JCMemberReference tree) {
 378         tree.expr = translate(tree.expr);
 379         result = tree;
 380     }
 381 
 382     public void visitIdent(JCIdent tree) {


< prev index next >