tudresden.ocl.normalize
Class CompoundNormalizer
java.lang.Object
tudresden.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myTreeNormalizers
protected ArrayList myTreeNormalizers
CompoundNormalizer
public CompoundNormalizer()
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
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.