abc.aspectj.ast
Class TypeFormalPattern_c

java.lang.Object
  extended by Node_c
      extended by abc.aspectj.ast.TypeFormalPattern_c
All Implemented Interfaces:
FormalPattern, TypeFormalPattern

public class TypeFormalPattern_c
extends Node_c
implements TypeFormalPattern

A formal pattern that is a type pattern expression.

Author:
Oege de Moor, Aske Simon Christensen

Constructor Summary
TypeFormalPattern_c(Position pos, TypePatternExpr expr)
           
 
Method Summary
 boolean equivalent(FormalPattern p)
           
 TypePatternExpr expr()
           
 void prettyPrint(CodeWriter w, PrettyPrinter pp)
           
protected  TypeFormalPattern_c reconstruct(TypePatternExpr expr)
          Reconstruct the type pattern.
 java.lang.String toString()
           
 Node visitChildren(NodeVisitor v)
          Visit the children of the type pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeFormalPattern_c

public TypeFormalPattern_c(Position pos,
                           TypePatternExpr expr)
Method Detail

reconstruct

protected TypeFormalPattern_c reconstruct(TypePatternExpr expr)
Reconstruct the type pattern.


visitChildren

public Node visitChildren(NodeVisitor v)
Visit the children of the type pattern.


prettyPrint

public void prettyPrint(CodeWriter w,
                        PrettyPrinter pp)

expr

public TypePatternExpr expr()
Specified by:
expr in interface TypeFormalPattern

toString

public java.lang.String toString()

equivalent

public boolean equivalent(FormalPattern p)
Specified by:
equivalent in interface FormalPattern