Class ReplaceIdentifierVisitor

java.lang.Object
de.monticore.tf.odrules.subConstraints.ReplaceIdentifierVisitor
All Implemented Interfaces:
CommonExpressionsVisitor2, ExpressionsBasisVisitor2, de.monticore.visitor.IVisitor

public class ReplaceIdentifierVisitor extends Object implements CommonExpressionsVisitor2, ExpressionsBasisVisitor2
Created by Alexander Wilts on 16.01.2017. This visitor replaces identifier variables with a call to their real variables. An identifier variable is a short way to reference the name of an element in a transformation. This identifier does not have any value before it is assigned in later stages of the transformation. In order to read the identifier variable early on in the transformation we have to replace it.