annotate Implab/Automaton/RegularExpressions/BinaryToken.cs @ 249:d82909310094
v3
Implab.Test moved to xunit
Complete set of PromiseHelpers (Then, Catch, Finally)
Removed obsolete types ICancellable, ICancellationToken
author |
cin |
date |
Wed, 31 Jan 2018 11:28:38 +0300 |
parents |
a0ff6a0e9c44 |
children |
|
rev |
line source |
162
|
1 using Implab;
|
|
2
|
|
3 namespace Implab.Automaton.RegularExpressions {
|
177
|
4 public abstract class BinaryToken: Token {
|
|
5 readonly Token m_left;
|
|
6 readonly Token m_right;
|
162
|
7
|
177
|
8 public Token Left {
|
162
|
9 get { return m_left; }
|
|
10 }
|
|
11
|
177
|
12 public Token Right {
|
162
|
13 get { return m_right; }
|
|
14 }
|
|
15
|
177
|
16 protected BinaryToken(Token left, Token right) {
|
162
|
17 Safe.ArgumentNotNull(m_left = left, "left");
|
|
18 Safe.ArgumentNotNull(m_right = right, "right");
|
|
19 }
|
|
20 }
|
|
21 }
|