Answer: chiasmus

AnswerCrossword Clue
chiasmusa reversal in the order of words in two otherwise parallel phrases, as in “He went to the country, to the town went she.”
chiasmuscontrast by parallelism in reverse order
chiasmusan inverted relationship between the syntactic elements of parallel phrases (as in Goldsmith's to stop too fearful, and too faint to go)