Example #1
0
        internal override AssignmentTarget CopyTarget(Dictionary <SequenceVariable, SequenceVariable> originalToCopy, IGraphProcessingEnvironment procEnv)
        {
            AssignmentTargetVisited copy = (AssignmentTargetVisited)MemberwiseClone();

            copy.GraphElementVar       = GraphElementVar.Copy(originalToCopy, procEnv);
            copy.VisitedFlagExpression = VisitedFlagExpression.CopyExpression(originalToCopy, procEnv);
            return(copy);
        }
 protected AssignmentTargetVisited(AssignmentTargetVisited that, Dictionary <SequenceVariable, SequenceVariable> originalToCopy, IGraphProcessingEnvironment procEnv)
     : base(that)
 {
     GraphElementVar = that.GraphElementVar.Copy(originalToCopy, procEnv);
     if (VisitedFlagExpression != null)
     {
         VisitedFlagExpression = that.VisitedFlagExpression.CopyExpression(originalToCopy, procEnv);
     }
 }