##// END OF EJS Templates
Added ResetState to RunnableComponent to reset in case of failure...
Added ResetState to RunnableComponent to reset in case of failure Added StateChanged event to IRunnable Renamed Promise.SUCCESS -> Promise.Success Added Promise.FromException Renamed Bundle -> PromiseAll in PromiseExtensions

File last commit:

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