internal override Node Clone() { var clone = new Block(); clone.Nodes.AddRange(from node in Nodes select node.Clone()); return clone; }
internal Tag(string name, Block block = null) { Name = name; Block = block ?? new Block(); }
/// <summary> /// Replace the nodes in `other` with the nodes /// in `this` block. /// </summary> /// <param name="other"></param> private void Replace(Block other) { other.Nodes = Nodes; }