BinaryToken.cs
21 lines
| 540 B
| text/x-csharp
|
CSharpLexer
cin
|
r162 | using Implab; | ||
namespace Implab.Automaton.RegularExpressions { | ||||
cin
|
r177 | public abstract class BinaryToken: Token { | ||
readonly Token m_left; | ||||
readonly Token m_right; | ||||
cin
|
r162 | |||
cin
|
r177 | public Token Left { | ||
cin
|
r162 | get { return m_left; } | ||
} | ||||
cin
|
r177 | public Token Right { | ||
cin
|
r162 | get { return m_right; } | ||
} | ||||
cin
|
r177 | protected BinaryToken(Token left, Token right) { | ||
cin
|
r162 | Safe.ArgumentNotNull(m_left = left, "left"); | ||
Safe.ArgumentNotNull(m_right = right, "right"); | ||||
} | ||||
} | ||||
} | ||||