コード例 #1
0
 /// <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.");
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 /// <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);
 }