abc.eaj.ast
Class PCLocalVars_c

java.lang.Object
  extended by Node_c
      extended by abc.aspectj.ast.Pointcut_c
          extended by abc.eaj.ast.PCLocalVars_c
All Implemented Interfaces:
MakesAspectMethods, Pointcut, PCLocalVars

public class PCLocalVars_c
extends Pointcut_c
implements PCLocalVars

Author:
Julian Tibble

Field Summary
protected  java.util.List formals
           
protected  Pointcut pc
           
 
Fields inherited from class abc.aspectj.ast.Pointcut_c
initialised
 
Constructor Summary
PCLocalVars_c(Position pos, java.util.List formals, Pointcut pc)
           
 
Method Summary
 void aspectMethodsEnter(AspectMethods visitor)
           
 Node aspectMethodsLeave(AspectMethods visitor, AJNodeFactory nf, AJTypeSystem ts)
           
 Context enterScope(Context c)
          Add declarations of the variables which are local to this pointcut
 boolean isDynamic()
           
 Pointcut makeAIPointcut()
           
 java.util.Collection mayBind()
           
 java.util.Collection mustBind()
           
 java.util.Set pcRefs()
           
 Precedence precedence()
          Get the precedence of the expression.
 void prettyPrint(CodeWriter w, PrettyPrinter pp)
           
protected  Node reconstruct(java.util.List formals, Pointcut pc)
           
 java.lang.String toString()
           
 Node visitChildren(NodeVisitor v)
           
 
Methods inherited from class abc.aspectj.ast.Pointcut_c
checkFormals, printSubExpr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface abc.aspectj.ast.Pointcut
checkFormals, printSubExpr
 

Field Detail

formals

protected java.util.List formals

pc

protected Pointcut pc
Constructor Detail

PCLocalVars_c

public PCLocalVars_c(Position pos,
                     java.util.List formals,
                     Pointcut pc)
Method Detail

pcRefs

public java.util.Set pcRefs()
Specified by:
pcRefs in interface Pointcut

toString

public java.lang.String toString()

prettyPrint

public void prettyPrint(CodeWriter w,
                        PrettyPrinter pp)

precedence

public Precedence precedence()
Description copied from interface: Pointcut
Get the precedence of the expression.

Specified by:
precedence in interface Pointcut
Overrides:
precedence in class Pointcut_c

mayBind

public java.util.Collection mayBind()
                             throws SemanticException
Specified by:
mayBind in interface Pointcut
Overrides:
mayBind in class Pointcut_c
Throws:
SemanticException

mustBind

public java.util.Collection mustBind()
Specified by:
mustBind in interface Pointcut
Overrides:
mustBind in class Pointcut_c

reconstruct

protected Node reconstruct(java.util.List formals,
                           Pointcut pc)

enterScope

public Context enterScope(Context c)
Add declarations of the variables which are local to this pointcut


visitChildren

public Node visitChildren(NodeVisitor v)

makeAIPointcut

public Pointcut makeAIPointcut()
Specified by:
makeAIPointcut in interface Pointcut

aspectMethodsEnter

public void aspectMethodsEnter(AspectMethods visitor)
Specified by:
aspectMethodsEnter in interface MakesAspectMethods

isDynamic

public boolean isDynamic()
Specified by:
isDynamic in interface Pointcut

aspectMethodsLeave

public Node aspectMethodsLeave(AspectMethods visitor,
                               AJNodeFactory nf,
                               AJTypeSystem ts)
Specified by:
aspectMethodsLeave in interface MakesAspectMethods