class TreePrinter {

  public static String table(Tree tree) {
    Table table = new Table("AST node class", "first…last tokens", "line:col");
    addAstNode(table, tree, 0);
    return table.toString();
  }

  private  TreePrinter();

}