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