public object Clone()
        {
            var clone = new BibleReferenceRange {
                First = null, Last = null
            };

            if (First != null)
            {
                clone.First = First.Clone() as BibleReference;
            }
            if (Last != null)
            {
                clone.Last = Last.Clone() as BibleReference;
            }
            return(clone);
        }
Example #2
0
 protected override Node CloneCore()
 {
     return(new Shorthand(First.Clone(), Second.Clone()));
 }
Example #3
0
 protected override Node CloneCore()
 {
     return(new Operation(Operator, First.Clone(), Second.Clone()));
 }