google/traceur-compiler — pull request #795 by arv (2014-02-24 18:03:51+00:00)
Title: Refactor pretty printing to handle the white space at the AST level

We previously determined when to add the whitespace at the token level. That lead to a bunch of complicate switch statements. With this we handle the formatting at the AST level which simplifies the code significantly and it also allows us nicer result.