Mercurial > pub > ImplabNet
annotate Implab/Automaton/RegularExpressions/BinaryToken.cs @ 163:419aa51b04fd ref20160224
JSON moved to Formats namespace
Working in RegularDFA
author | cin |
---|---|
date | Wed, 24 Feb 2016 20:12:52 +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 } |