Example #1
0
 public ReadOnlyCollection<Expression> Reads(Node atom)
 {
     return _usages[atom.AssertCast<Expression>()].Where(u => !(u is Assign)).ToReadOnly();
 }
Example #2
0
 public ReadOnlyCollection<Assign> Writes(Node atom)
 {
     return _usages[atom.AssertCast<Expression>()].OfType<Assign>().ToReadOnly();
 }
Example #3
0
 public ReadOnlyCollection<Expression> Usages(Node atom)
 {
     return _usages[atom.AssertCast<Expression>()].ToReadOnly();
 }