comparison Implab/Parsing/BinaryToken.cs @ 55:c0bf853aa04f

Added initial JSON support +JSONParser +JSONWriter
author cin
date Sun, 15 Jun 2014 19:39:11 +0400
parents
children
comparison
equal deleted inserted replaced
51:2c332a9c64c0 55:c0bf853aa04f
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 }