From all-night + -er = all- + night + -er.
all-nighter (plural all-nighters)
- Something that lasts throughout the whole night.
That party was an all-nighter.
- (UK, crime, slang) A session with a prostitute covering the entire night.
- (UK, crime, slang) A client of a prostitute who has paid for the entire night.
- Synonyms: see Thesaurus:prostitute's client
- (US, crime, slang) A criminal or other person kept in jail over night.
- Eric Partridge (2007), “all-nighter”, in Tom Dalzell and Terry Victor, editors, The Concise New Partridge Dictionary of Slang and Unconventional English, first edition, Abingdon, Oxon.; New York, N.Y.: Routledge, →ISBN, page 9.