Add parseStatements to PlaceholderParser

And use that in the CPS transformers.

Fixes #523