GO:0099612: protein localization to axon
A process in which a protein is transported to or maintained in a location within an axon.