private Tree <string> ExecuteInstructions(Tree <string> instructions) { var results = new SlimTree(); foreach (Tree <string> statement in instructions.Branches) { var result = processor.Invoke(new SlimInstruction(), new MemberName(string.Empty), statement).GetValue <Tree <string> >(); results.AddBranchValue(result); if (ComposeException.WasAborted(result.ValueAt(1))) { break; } } return(results); }
private Tree <string> ExecuteInstructions(Tree <string> instructions) { var results = new SlimTree(); foreach (Tree <string> statement in instructions.Branches) { var result = processor.Execute(statement).GetValue <Tree <string> >(); results.AddBranchValue(result); if (ComposeException.WasAborted(result.Branches[1].Value)) { break; } } return(results); }