##// 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:

r178:d5c5db0335ee ref20160224
r205:8200ab154c8a v2
Show More
EndTokenT.cs
23 lines | 651 B | text/x-csharp | CSharpLexer
namespace Implab.Automaton.RegularExpressions {
/// <summary>
/// Конечный символ расширенного регулярного выражения, при построении ДКА
/// используется для определения конечных состояний.
/// </summary>
public class EndToken<TTag>: EndToken {
readonly TTag m_tag;
public EndToken(TTag tag) {
m_tag = tag;
}
public EndToken()
: this(default(TTag)) {
}
public TTag Tag {
get { return m_tag; }
}
}
}