view Implab/Parsing/BinaryToken.cs @ 121:62d2f1e98c4e v2

working version of AsyncQueue and batch operations tests
author cin
date Mon, 12 Jan 2015 18:19:41 +0300
parents c0bf853aa04f
children
line wrap: on
line source

using Implab;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Implab.Parsing {
    public abstract class BinaryToken : Token {
        Token m_left;
        Token m_right;

        public Token Left {
            get { return m_left; }
        }

        public Token Right {
            get { return m_right; }
        }

        protected BinaryToken(Token left, Token right) {
            Safe.ArgumentNotNull(m_left = left, "left");
            Safe.ArgumentNotNull(m_right = right, "right");
        }
    }
}