/// <summary> /// Visits the temporary. /// </summary> /// <param name="temporaryPathSegment">The temporary path segment.</param> /// <exception cref="System.Exception">Acces to undefined temporary variable.</exception> public void VisitTemporary(TemporaryPathSegment temporaryPathSegment) { throw new Exception("Acces to undefined temporary variable."); }
/// <summary> /// Visits the temporary variable to traverse memory tree from temporary variable root. /// </summary> /// <param name="temporaryPathSegment">The temporary path segment.</param> public void VisitTemporary(TemporaryPathSegment temporaryPathSegment) { mustIndexesProcess.Add(temporaryPathSegment.TemporaryIndex); }
/// <summary> /// Visits the temporary variable to traverse memory tree from temporary variable root. /// </summary> /// <param name="temporaryPathSegment">The temporary path segment.</param> public void VisitTemporary(TemporaryPathSegment temporaryPathSegment) { addToMust(temporaryPathSegment.TemporaryIndex); }