XR-3710 Inline small close-paren formatting helpers
XR-3710 Inline small close-paren formatting helpers

These were longer before, but after some refactorings they're no more
worthy of a separate method.

zeroturnaround/sql-formatter,zeroturnaround/sql-formatter,zeroturnaround/sql-formatter