public void TwoStatementsNodesHaveSameHashCode()
        {
            var node1 = new StatementsNode(4, 56);
            var node2 = new StatementsNode(9, 12);

            Assert.AreEqual(node1.GetHashCode(), node2.GetHashCode());
        }
        public void TwoStatementsNodesAreEqual()
        {
            var node1 = new StatementsNode(0, 1);
            var node2 = new StatementsNode(50, 23);

            Assert.AreEqual(node1, node2);
        }
 public void Visit(StatementsNode node)
 {
     foreach (var child in node.Children)
     {
         child.Accept(this);
     }
 }