Commit Graph

5 Commits

Author SHA1 Message Date
ngeoffray@google.com 7ed266a293 Few tweaks to the generated code to avoid eg parenthesis.
Review URL: https://chromiumcodereview.appspot.com//10860036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10982 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:38:09 +00:00
ngeoffray@google.com 6a578b55b1 Don't put parenthesis to LiteralExpression (ie foreign expressions) when the expression starts a statement.
Review URL: https://chromiumcodereview.appspot.com//10831365

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10875 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 10:21:53 +00:00
lrn@google.com 640e0ee99b Clean-up of getCompilationUnit.
Fixes a few places that assumes libraries can be compilation units.
- VoidElement now belongs to the entry compilation unit of the core library.
- Abstract fields now belong to the compilation unit of the creating accessor.

Review URL: https://chromiumcodereview.appspot.com//10834330

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10711 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:38:56 +00:00
floitsch@google.com bdbb03a61a Fix dangling else.
Fixes issue 4493.

Review URL: https://chromiumcodereview.appspot.com//10837236

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10645 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 13:52:11 +00:00
floitsch@google.com 9dbe99dbf7 Add JavaScript AST.
Review URL: https://chromiumcodereview.appspot.com//10825180

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10506 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 13:59:16 +00:00