##// END OF EJS Templates
Bound promise to CancellationToken...
Bound promise to CancellationToken Added new states to ExecutionSate enum. Added Safe.Guard() method to handle cleanup of the result of the promise

File last commit:

r177:a0ff6a0e9c44 ref20160224
r209:a867536c68fc v2
Show More
SymbolToken.cs
27 lines | 683 B | text/x-csharp | CSharpLexer
using Implab;
namespace Implab.Automaton.RegularExpressions {
/// <summary>
/// Выражение, соответсвующее одному символу.
/// </summary>
public class SymbolToken: Token {
int m_value;
public int Value {
get { return m_value; }
}
public SymbolToken(int value) {
m_value = value;
}
public override void Accept(IVisitor visitor) {
Safe.ArgumentNotNull(visitor, "visitor");
visitor.Visit(this);
}
public override string ToString() {
return Value.ToString();
}
}
}