Beispiel #1
0
 internal static void AssignParent(this Statement self, Statement parent)
 {
     self.IfNotNull(n => n.Parent = parent);
 }
Beispiel #2
0
 internal static void ClearParent(this Statement self, Statement parent)
 {
     self.IfNotNull(n => n.Parent = (n.Parent == parent) ? null : n.Parent);
 }