package com.davidmogar.njc.ast.statements;

import com.davidmogar.njc.ast.AbstractAstNode;
import com.davidmogar.njc.ast.statements.Statement;

import java.util.List;

public abstract class Block extends AbstractAstNode implements Statement {

    public Block block;

    public Block(int line, int column, Block block) {
        super(line, column);
        this.block = block;
    }

}

@@ -248,27 +248,42 @@
  public 
-Block block
+List%3CStatement%3E statements
 ;%0A%0A    p
@@ -320,19 +320,34 @@
 mn, 
-Block block
+List%3CStatement%3E statements
 ) %7B%0A
@@ -392,21 +392,31 @@
 his.
-block = block
+statements = statements
 ;%0A  

Change Block definition