abc.aspectj.ast
Class DeclarePrecedence_c

java.lang.Object
  extended by Term_c
      extended by abc.aspectj.ast.DeclareDecl_c
          extended by abc.aspectj.ast.DeclarePrecedence_c
All Implemented Interfaces:
DeclareDecl, DeclarePrecedence, ContainsAspectInfo

public class DeclarePrecedence_c
extends DeclareDecl_c
implements DeclarePrecedence, ContainsAspectInfo

Author:
Oege de Moor, Aske Simon Christensen

Constructor Summary
DeclarePrecedence_c(Position pos, java.util.List pats)
           
 
Method Summary
 java.util.List pats()
           
 void prettyPrint(CodeWriter w, PrettyPrinter tr)
           
protected  DeclarePrecedence_c reconstruct(TypedList pats)
           
 Node typeCheck(TypeChecker tc)
           
 void update(GlobalAspectInfo gai, Aspect current_aspect)
          Called by the AspectInfoHarvester to tell the node to put all relevant information into the GlobalAspectInfo.
 Node visitChildren(NodeVisitor v)
           
 
Methods inherited from class abc.aspectj.ast.DeclareDecl_c
acceptCFG, enterScope, entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeclarePrecedence_c

public DeclarePrecedence_c(Position pos,
                           java.util.List pats)
Method Detail

reconstruct

protected DeclarePrecedence_c reconstruct(TypedList pats)

visitChildren

public Node visitChildren(NodeVisitor v)

typeCheck

public Node typeCheck(TypeChecker tc)
               throws SemanticException
Throws:
SemanticException

prettyPrint

public void prettyPrint(CodeWriter w,
                        PrettyPrinter tr)

pats

public java.util.List pats()
Specified by:
pats in interface DeclarePrecedence

update

public void update(GlobalAspectInfo gai,
                   Aspect current_aspect)
Description copied from interface: ContainsAspectInfo
Called by the AspectInfoHarvester to tell the node to put all relevant information into the GlobalAspectInfo.

Specified by:
update in interface ContainsAspectInfo
Parameters:
gai - the target of the information.
current_aspect - the aspect currently being traversed.