docs: public void setStatements(List<AstNode> statements) {
          if (this.statements != null) {
              this.statements.clear();
          }
          for (AstNode s : statements) {
              addStatement(s);
          }
      }