more cases for accept (more AST type structures to traverse)