55
|
1 using Implab;
|
|
2 using System;
|
|
3 using System.Collections.Generic;
|
|
4 using System.Linq;
|
|
5 using System.Text;
|
|
6 using System.Threading.Tasks;
|
|
7
|
|
8 namespace Implab.Parsing {
|
|
9 public abstract class BinaryToken : Token {
|
|
10 Token m_left;
|
|
11 Token m_right;
|
|
12
|
|
13 public Token Left {
|
|
14 get { return m_left; }
|
|
15 }
|
|
16
|
|
17 public Token Right {
|
|
18 get { return m_right; }
|
|
19 }
|
|
20
|
|
21 protected BinaryToken(Token left, Token right) {
|
|
22 Safe.ArgumentNotNull(m_left = left, "left");
|
|
23 Safe.ArgumentNotNull(m_right = right, "right");
|
|
24 }
|
|
25 }
|
|
26 }
|