Пример #1
0
        public override void AddTwoWay(InstructionNode toAdd)
        {
            var indexedToAdd = new IndexedArgument(CurrentIndex + 1, toAdd, this);

            AddTwoWay(indexedToAdd);
            CurrentIndex--;
        }
Пример #2
0
 private static bool ArgumentsMatch(IndexedArgument firstArg, IndexedArgument secondArg)
 {
     return(firstArg.ArgIndex == secondArg.ArgIndex && firstArg.Argument.InstructionIndex == secondArg.Argument.InstructionIndex);
 }