Example #1
0
  @Override
  public Void visit(Section s) {
    for (Statement stat : s.getBody()) {
      stat.accept(this);
    }

    return null;
  }
Example #2
0
  @Override
  public Void visit(Page p) {
    for (Statement s : p.getBody()) {
      s.accept(this);
    }

    return null;
  }