Implement ast.dump (AltDump class).