indeclinable (temporal adverb), nominally yāvatā + dohipi contracted form
Analysis. yāvatā (for so long as, as long as) + dohi (archaic/poetic form of internal locative, lit. 'in the time, in the space') + pi (also, emphatic particle); the contraction yāvatādohipi fuses temporal and emphatic force: 'for just as long as', 'throughout the entire duration'.
Etymology. yāvatā is from yāva- (measure, extent, how far) + -tā (abstract nominal suffix); related to Sanskrit yāvat. The concrete sense is 'to the extent' or 'as far as', which becomes temporal 'as long as'. dohi is an ancient locative instrumental form surviving in poetry and compressed compounds; pi is the universal emphatic particle cognate with Latin -que and Greek -que.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version