示例#1
0
            /// <summary>
            /// Visits the information value location.
            /// </summary>
            /// <param name="location">The location.</param>
            public void VisitInfoValueLocation(InfoValueLocation location)
            {
                MemoryEntry oldEntry = snapshot.Structure.GetMemoryEntry(location.ContainingIndex);

                HashSet <Value> newValues = new HashSet <Value>();

                HashSetTools.AddAll(newValues, oldEntry.PossibleValues);

                IEnumerable <Value> values = location.WriteValues(snapshot.MemoryAssistant, entry);

                newValues.Add(location.Value);

                snapshot.Structure.SetMemoryEntry(location.ContainingIndex, new MemoryEntry(newValues));
            }
示例#2
0
        /// <summary>
        /// Visits the information value location.
        /// </summary>
        /// <param name="location">The location.</param>
        public void VisitInfoValueLocation(InfoValueLocation location)
        {
            IEnumerable <Value> values = location.ReadValues(assistant);

            ProcessValues(location.ContainingIndex, values, IsMust);
        }
示例#3
0
 /// <summary>
 /// Visits the information value location.
 /// </summary>
 /// <param name="location">The location.</param>
 public void VisitInfoValueLocation(InfoValueLocation location)
 {
     read(location.ContainingIndex);
 }
示例#4
0
 /// <summary>
 /// Visits the information value location.
 /// </summary>
 /// <param name="location">The location.</param>
 public void VisitInfoValueLocation(InfoValueLocation location)
 {
 }