public class DuplicationVisitor extends AbstractSourceToTargetVisitor
Constructor and Description |
---|
DuplicationVisitor(TransformationTree tree,
TransformationLog log)
Creates a duplication visitor.
|
Modifier and Type | Method and Description |
---|---|
void |
doAugmentationTrackback()
Duplicates assignments without connections to source nodes.
|
boolean |
includeAnnotatedNodes()
Specifies if annotated nodes should be included in the traversal.
|
boolean |
visit(CellNode cell)
Visit a cell node.
|
boolean |
visit(SourceNode source)
Visit a source node.
|
isFromTargetToSource
public DuplicationVisitor(TransformationTree tree, TransformationLog log)
tree
- the transformation treelog
- the transformation logpublic boolean visit(CellNode cell)
TransformationNodeVisitor
visit
in interface TransformationNodeVisitor
visit
in class AbstractTransformationNodeVisitor
cell
- the cell nodeAbstractTransformationNodeVisitor.visit(CellNode)
public boolean visit(SourceNode source)
TransformationNodeVisitor
visit
in interface TransformationNodeVisitor
visit
in class AbstractTransformationNodeVisitor
source
- the source nodeAbstractTransformationNodeVisitor.visit(SourceNode)
public boolean includeAnnotatedNodes()
TransformationNodeVisitor
TransformationNodeVisitor.includeAnnotatedNodes()
public void doAugmentationTrackback()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a