Generally speaking, bicycles are classed as vehicles. And generally, vehicles must yield to pedestrians doing normal pedestrian things that they are entitled to do, like use a bus stop. So the pecking order is
Boats > Trains > Pedestrians > Bicycles > Motor Vehicles
- Drawbridges know large boats are coming, and have plenty of time to signal trains to get stopped
- Trains cannot stop, so peds and vehicles MUST wait
- Vehicles must yield to pedestrians, especially anywhere pedestrians belong
- Bicycles are legitimate traffic and share roads with motor vehicles, except they have priority in bike lanes obviously. Laws favor bicycles because physics does not.