﻿namespace PearfectCompiler.SyntaxAnalysis.AbstractSyntaxTree
{
    public class Get : Node, IPostfixExpression
    {
        public IPostfixExpression Left { get; }

        public IConditionalExpression Right { get; }

        public Get(IPostfixExpression left, IConditionalExpression right, int line, int position)
            : base(line, position)
        {
            Left = left;
            Right = right;
        }
    }
}