/// <summary> /// Connect with flow edges to children points /// </summary> internal void Connect() { if (_isConnected) { throw new NotSupportedException("Cannot connect block twice"); } _isConnected = true; foreach (var child in _childrenBlocks) { LastPoint.AddFlowChild(child.FirstPoint); } }
/// <summary> /// Append program point as last of contained points /// Is connected with flow edge to LastPoint /// </summary> /// <param name="programPoint">Appended point</param> internal void AppendFlow(ProgramPointBase programPoint) { LastPoint.AddFlowChild(programPoint); _containedPoints.Add(programPoint); }