Example #1
0
        public Operand Clone(InstructionNode parent)
        {
            var operand = new Operand(Token, Index);

            if (InstructionNode != null)
            {
                operand.InstructionNode = InstructionNode.Clone(null);
            }

            if (Method != null)
            {
                operand.Method = Method;                    // TODO - Okay for now since filters and results are not modified by variations
            }

            return(operand);
        }