Fix variable declaration list and added missing WhileStatement to transformer.
For me it only works using the source generator.