Mercurial > pub > ImplabNet
annotate Implab/Automaton/RegularExpressions/BinaryToken.cs @ 173:ecfece82ca11 ref20160224
Working on text scanner
author | cin |
---|---|
date | Tue, 15 Mar 2016 02:11:06 +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 } |