abc.aspectj.visit
Class CollectJimplifyVisitor

java.lang.Object
  extended by ErrorHandlingVisitor
      extended by abc.aspectj.visit.CollectJimplifyVisitor
Direct Known Subclasses:
CollectJimplifyVisitor

public class CollectJimplifyVisitor
extends ErrorHandlingVisitor

Collects the AST roots of all top-level weavable classes, to give to the later Jimplify pass.

Author:
Aske Simon Christensen

Field Summary
protected  java.util.Map class_to_ast
           
protected  Node current_ast
           
protected  java.util.Collection source_files
           
 
Constructor Summary
CollectJimplifyVisitor(Job job, TypeSystem ts, NodeFactory nf, java.util.Collection source_files, java.util.Map class_to_ast)
           
 
Method Summary
protected  NodeVisitor enterCall(Node n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source_files

protected java.util.Collection source_files

class_to_ast

protected java.util.Map class_to_ast

current_ast

protected Node current_ast
Constructor Detail

CollectJimplifyVisitor

public CollectJimplifyVisitor(Job job,
                              TypeSystem ts,
                              NodeFactory nf,
                              java.util.Collection source_files,
                              java.util.Map class_to_ast)
Method Detail

enterCall

protected NodeVisitor enterCall(Node n)
                         throws SemanticException
Throws:
SemanticException