Mercurial > pub > ImplabNet
annotate Implab/Automaton/RegularExpressions/BinaryToken.cs @ 165:e227e78d72e4 ref20160224
DFA refactoring
author | cin |
---|---|
date | Mon, 29 Feb 2016 02:02:17 +0300 |
parents | 0526412bbb26 |
children | a0ff6a0e9c44 |
rev | line source |
---|---|
162 | 1 using Implab; |
2 | |
3 namespace Implab.Automaton.RegularExpressions { | |
4 public abstract class BinaryToken<TTag> : Token<TTag> { | |
5 readonly Token<TTag> m_left; | |
6 readonly Token<TTag> m_right; | |
7 | |
8 public Token<TTag> Left { | |
9 get { return m_left; } | |
10 } | |
11 | |
12 public Token<TTag> Right { | |
13 get { return m_right; } | |
14 } | |
15 | |
16 protected BinaryToken(Token<TTag> left, Token<TTag> right) { | |
17 Safe.ArgumentNotNull(m_left = left, "left"); | |
18 Safe.ArgumentNotNull(m_right = right, "right"); | |
19 } | |
20 } | |
21 } |