コード例 #1
0
 public void traverse(ASTVisitor visitor, BlockScope scope) {
   if (visitor.visit(this, scope)) {
     this.receiver.traverse(visitor, scope);
     this.position.traverse(visitor, scope);
   }
   visitor.endVisit(this, scope);
 }
コード例 #2
0
  @Override
  public void traverse(ASTVisitor visitor, BlockScope blockScope) {

    if (visitor.visit(this, blockScope)) {
      this.expression.traverse(visitor, blockScope);
    }
    visitor.endVisit(this, blockScope);
  }
コード例 #3
0
ファイル: Argument.java プロジェクト: riuvshin/che-plugins
  public void traverse(ASTVisitor visitor, ClassScope scope) {

    if (visitor.visit(this, scope)) {
      if (this.annotations != null) {
        int annotationsLength = this.annotations.length;
        for (int i = 0; i < annotationsLength; i++) this.annotations[i].traverse(visitor, scope);
      }
      if (this.type != null) this.type.traverse(visitor, scope);
    }
    visitor.endVisit(this, scope);
  }
コード例 #4
0
 public void traverse(ASTVisitor visitor, ClassScope scope) {
   visitor.visit(this, scope);
   visitor.endVisit(this, scope);
 }