Dresden OCL Toolkit

tudresden.ocl.normalize
Class CompoundNormalizer

java.lang.Object
  extended bytudresden.ocl.normalize.CompoundNormalizer
All Implemented Interfaces:
TreeNormalizer

public class CompoundNormalizer
extends Object
implements TreeNormalizer

This class represents a TreeNormalizer that normalizes an abstract syntax tree by starting other TreeNormalizers in a fixed order. Usually, an object of this class will be the "top level" normalizer and contain several NormalizerPass objects.

Author:
Frank Finger
See Also:
NormalizerPass

Field Summary
protected  ArrayList myTreeNormalizers
           
 
Constructor Summary
CompoundNormalizer()
           
 
Method Summary
 void add(TreeNormalizer tn)
           
 Iterator iterator()
           
 void normalize(OclTree t)
          normalize a abstract syntax tree given by its Start node by calling the "normalize" method of all its tree normalizer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myTreeNormalizers

protected ArrayList myTreeNormalizers
Constructor Detail

CompoundNormalizer

public CompoundNormalizer()
Method Detail

add

public void add(TreeNormalizer tn)

normalize

public void normalize(OclTree t)
normalize a abstract syntax tree given by its Start node by calling the "normalize" method of all its tree normalizer

Specified by:
normalize in interface TreeNormalizer

iterator

public Iterator iterator()
Returns:
an Iterator through the list of TreeNormalizers

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.