##// END OF EJS Templates
Working on text scanner
Working on text scanner

File last commit:

r162:0526412bbb26 ref20160224
r172:92d5278d1b10 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");
}
}
}