[Compiler] Fix issues pointed out in review

Authored by Jan Marker <jan@jangmarker.de>.

Description

[Compiler] Fix issues pointed out in review

  • generate everything which is not a leave in the tree on endVisit, don't but e.g. { or switch on the stack
  • make tests easier to read
  • fix StringLiteral to have quotes

Details

Committed
Jan Marker <jan@jangmarker.de>Sep 15 2015, 7:48 PM
Differential Revision
D350: Implement basics of a AST -> JS generator
Parents
R18:4dcf51cd0879: [Compiler] Make test better readable and maintainable
Branches
Unknown
Tags
Unknown
Jan Marker <jan@jangmarker.de> committed R18:c3b668afb038: [Compiler] Fix issues pointed out in review (authored by Jan Marker <jan@jangmarker.de>).Sep 15 2015, 7:48 PM