Example #1
0
        public override Node Clone()
        {
            KeyValueNode clone = new KeyValueNode(this.FileOrigin);

            clone.Key      = this.Key;
            clone.Value    = this.Value;
            clone.Operator = this.Operator;
            clone.Depth    = this.Depth;
            return(clone);
        }
        public KeyValueNode CreateKeyValueNode()
        {
            KeyValueNode construct = new KeyValueNode(this.File);

            construct.SetParent(this.CurrentParent);
            construct.Key      = this.CurrentKey;
            construct.Value    = this.CurrentValue;
            construct.Operator = this.CurrentOperator;
            this.ResetNodeConstruction();
            return(construct);
        }