ant.compiler.trafo
Class SemanticAnalyzer.ParentResolver

java.lang.Object
  extended byant.compiler.ast.AbstractVisitor
      extended byant.compiler.ast.DFSVisitor
          extended byant.compiler.trafo.SemanticAnalyzer.ParentResolver
All Implemented Interfaces:
Tree.Visitor
Enclosing class:
SemanticAnalyzer

public class SemanticAnalyzer.ParentResolver
extends DFSVisitor

Visitor that links tree nodes to their parents.

License: GPL

Author:
Bernhard Haumacher

Field Summary
(package private)  Tree parent
           
 
Constructor Summary
SemanticAnalyzer.ParentResolver()
           
 
Method Summary
protected  void beforeDescend(Tree tree)
           
protected  void visitTree(Tree tree)
           
 
Methods inherited from class ant.compiler.ast.DFSVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit
 
Methods inherited from class ant.compiler.ast.AbstractVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitBinaryExpression, visitExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

Tree parent
Constructor Detail

SemanticAnalyzer.ParentResolver

public SemanticAnalyzer.ParentResolver()
Method Detail

beforeDescend

protected void beforeDescend(Tree tree)
Overrides:
beforeDescend in class DFSVisitor

visitTree

protected void visitTree(Tree tree)
Overrides:
visitTree in class AbstractVisitor