|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttudresden.ocl.normalize.DefaultContextInsertion
This node normalization inserts the default context ("self" or some iterator variable) wherever appropriate. A prerequistite for this step is that there is a default context in every part of the expression, which means that all iterators must have names and there are no double iterators.
MultipleIteratorSolving
,
IteratorInsertion
Constructor Summary | |
DefaultContextInsertion()
|
Method Summary | |
void |
close(OclTree tree,
NormalizerPass pass)
This method notifies the NodeNormalizer of the end of a tree normalization. |
void |
normalize(Node n,
OclTree tree)
normalize a single node |
void |
open(OclTree tree,
NormalizerPass pass)
allows the NodeNormalizers to initialize itself. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultContextInsertion()
Method Detail |
public void open(OclTree tree, NormalizerPass pass)
NodeNormalizer
open
in interface NodeNormalizer
public void close(OclTree tree, NormalizerPass pass)
NodeNormalizer
open()
already
close
in interface NodeNormalizer
public void normalize(Node n, OclTree tree)
NodeNormalizer
normalize
in interface NodeNormalizer
|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |