##// END OF EJS Templates
Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler...
Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler Any unhandled OperationCanceledException will cause the promise cancelation

File last commit:

r177:a0ff6a0e9c44 ref20160224
r187:dd4a3590f9c6 ref20160224
Show More
AltToken.cs
17 lines | 528 B | text/x-csharp | CSharpLexer
cin
DFA refactoring
r162 using System;
namespace Implab.Automaton.RegularExpressions {
cin
refactoring
r177 public class AltToken: BinaryToken {
public AltToken(Token left, Token right)
cin
DFA refactoring
r162 : base(left, right) {
}
cin
refactoring
r177 public override void Accept(IVisitor visitor) {
cin
DFA refactoring
r162 Safe.ArgumentNotNull(visitor, "visitor");
visitor.Visit(this);
}
public override string ToString() {
cin
refactoring
r177 return String.Format(Right is BinaryToken ? "{0}|({1})" : "{0}|{1}", Left, Right);
cin
DFA refactoring
r162 }
}
}