##// END OF EJS Templates
DFA refactoring
DFA refactoring

File last commit:

r162:0526412bbb26 ref20160224
r169:54270c2f29f2 ref20160224
Show More
BinaryToken.cs
21 lines | 589 B | text/x-csharp | CSharpLexer
cin
DFA refactoring
r162 using Implab;
namespace Implab.Automaton.RegularExpressions {
public abstract class BinaryToken<TTag> : Token<TTag> {
readonly Token<TTag> m_left;
readonly Token<TTag> m_right;
public Token<TTag> Left {
get { return m_left; }
}
public Token<TTag> Right {
get { return m_right; }
}
protected BinaryToken(Token<TTag> left, Token<TTag> right) {
Safe.ArgumentNotNull(m_left = left, "left");
Safe.ArgumentNotNull(m_right = right, "right");
}
}
}