##// END OF EJS Templates
rewritten the text scanner
rewritten the text scanner

File last commit:

r162:0526412bbb26 ref20160224
r176:0c3c69fe225b ref20160224
Show More
BinaryToken.cs
21 lines | 589 B | text/x-csharp | CSharpLexer
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");
}
}
}