예제 #1
0
 public void traverseBottomUp(Visitor visitor) {
   condition.traverseBottomUp(visitor);
   if (ifTrue != null) {
     ifTrue.traverseBottomUp(visitor);
   }
   if (ifFalse != null) {
     ifFalse.traverseBottomUp(visitor);
   }
   accept(visitor);
 }
예제 #2
0
 @Override
 public void traverseBottomUp(Visitor visitor) {
   if (expression != null) {
     expression.traverseBottomUp(visitor);
   }
   accept(visitor);
 }
예제 #3
0
 public void traverseBottomUp(Visitor visitor) {
   expression.traverseBottomUp(visitor);
   accept(visitor);
 }
예제 #4
0
파일: Assignment.java 프로젝트: recipe/pdt
 public void traverseBottomUp(Visitor visitor) {
   leftHandSide.traverseBottomUp(visitor);
   rightHandSide.traverseBottomUp(visitor);
   accept(visitor);
 }