##// END OF EJS Templates
sync
sync

File last commit:

r162:0526412bbb26 ref20160224
r168:8fb9c9507a26 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");
}
}
}