Beispiel #1
0
 public void traverse(ASTVisitor visitor, BlockScope blockScope) {
   if (visitor.visit(this, blockScope)) {
     this.type.traverse(visitor, blockScope);
     this.expression.traverse(visitor, blockScope);
   }
   visitor.endVisit(this, blockScope);
 }
Beispiel #2
0
 public void traverse(ASTVisitor visitor, BlockScope scope) {
   if (visitor.visit(this, scope)) {
     lhs.traverse(visitor, scope);
     expression.traverse(visitor, scope);
   }
   visitor.endVisit(this, scope);
 }