chiasmus has definitions from the field of rhetoric
1
[ noun ] (rhetoric) inversion in the second of two parallel phrases

Related terms

rhetorical_device

*