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