Exemple #1
0
        public IEnumerator <T> GetEnumerator()
        {
            RepeatParserListNode <T> current = this;

            while (current.Next != null)
            {
                yield return(current.Value);

                current = current.Next;
            }
        }
Exemple #2
0
 public RepeatParserListNode(T value, RepeatParserListNode <T> next)
 {
     Value = value;
     Next  = next;
 }