protected internal override YNode GetNextNode(YNode node) { return(node == this.LastNode ? null : node is YKeyValuePair pair ? this.Children[this.Children.IndexOf(pair) + 1] : null); }
protected internal override YNode GetPreviousNode(YNode node) { return(node == this.FirstNode ? null : node is YKeyValuePair pair ? this.Children[this.Children.IndexOf(pair) - 1] : null); }
// https://gist.github.com/bowsersenior/979804 internal YAnchor(YNode value) : base(YNodeStyle.Block) { this.Value = value; }
protected internal abstract void RemoveChild(YNode node);
protected internal abstract YNode GetNextNode(YNode node);
protected internal abstract YNode GetPreviousNode(YNode node);