Fixes #2353. Use the same printing code for both `WhileStatement` and `DoWhileStatement`. Fix calculation of `isInsideParenthesis` when printing a `LogicalExpression`. There is no such thing as `DoStatement` -- it should be `DoWhileStatement`.
Fixes #2353. Use the same printing code for both `WhileStatement` and `DoWhileStatement`. Fix calculation of `isInsideParenthesis` when printing a `LogicalExpression`. There is no such thing as `DoStatement` -- it should be `DoWhileStatement`.