abc.aspectj.ast
Class PCBinary_c

java.lang.Object
  extended by Node_c
      extended by abc.aspectj.ast.Pointcut_c
          extended by abc.aspectj.ast.PCBinary_c
All Implemented Interfaces:
PCBinary, Pointcut

public class PCBinary_c
extends Pointcut_c
implements PCBinary

Author:
Oege de Moor

Nested Class Summary
 
Nested classes/interfaces inherited from interface abc.aspectj.ast.PCBinary
PCBinary.Operator
 
Field Summary
protected  Pointcut left
           
protected  PCBinary.Operator op
           
protected  Precedence precedence
           
protected  Pointcut right
           
 
Fields inherited from class abc.aspectj.ast.Pointcut_c
initialised
 
Fields inherited from interface abc.aspectj.ast.PCBinary
COND_AND, COND_OR
 
Constructor Summary
PCBinary_c(Position pos, Pointcut left, PCBinary.Operator op, Pointcut right)
           
 
Method Summary
 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 tr)
           
protected  PCBinary_c reconstruct(Pointcut left, Pointcut right)
           
 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, toString, wait, wait, wait
 
Methods inherited from interface abc.aspectj.ast.Pointcut
checkFormals, printSubExpr
 

Field Detail

left

protected Pointcut left

op

protected PCBinary.Operator op

right

protected Pointcut right

precedence

protected Precedence precedence
Constructor Detail

PCBinary_c

public PCBinary_c(Position pos,
                  Pointcut left,
                  PCBinary.Operator op,
                  Pointcut right)
Method Detail

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

pcRefs

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

isDynamic

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

prettyPrint

public void prettyPrint(CodeWriter w,
                        PrettyPrinter tr)

reconstruct

protected PCBinary_c reconstruct(Pointcut left,
                                 Pointcut right)

visitChildren

public Node visitChildren(NodeVisitor v)

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

makeAIPointcut

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