public void AddFragments(SemBlock blk) { foreach (SemFragment fr in blk.Fragments) { fr.m_Higher = this; Fragments.Add(fr); } foreach (SemFraglink li in blk.Links) { Links.Add(li); } }
public void MergeWith(SemBlock blk) { Graph.MergeWith(blk.Graph); foreach (SemFragment fr in blk.Fragments) { Fragments.Add(fr); fr.m_Higher = this; } foreach (SemFraglink li in blk.Links) { Links.Add(li); } }
public SemFragment(SemBlock blk) { m_Higher = blk; }