Commit Graph

11 Commits

Author SHA1 Message Date
Johnni Winther 670ac1aca8 Prepare js_ast for more advanced use of DeferredExpression
Change-Id: I008dc7ce21437475c2fa1d5505b42f9d4a4aa166
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/102363
Commit-Queue: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2019-05-20 07:46:58 +00:00
Gary Roumanis 0456f6c95a migrate pkg/js_ast to package:test
Change-Id: I9cf43c37e425b8c6e48a6c24edce888137dc3560
Reviewed-on: https://dart-review.googlesource.com/35463
Reviewed-by: Keerti Parthasarathy <keertip@google.com>
Commit-Queue: Gary Roumanis <grouma@google.com>
2018-01-17 23:35:24 +00:00
Johnni Winther 2a06996361 Fix printer_callback_test
Change-Id: Ib2f71309ae0b5eee1a3c2df757d7f2c3fe77e144
Reviewed-on: https://dart-review.googlesource.com/31121
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2017-12-21 14:30:49 +00:00
Jacob Richman 11950984e4 Run dartfmt on js_ast
BUG=
R=sra@google.com

Review-Url: https://codereview.chromium.org/2748103010 .
2017-03-15 21:22:40 -07:00
Stephen Adams dcf576a428 js_ast: Better escaping of strings in preparation for utf8 file encoding
- Choose between single and double quotes to reduce number of escapes.
- With "uft8: true", leave most characters for the file encoding.
- LINE SEPARATOR and PAGE SEPARATOR must always be \uXXXX encoded.
- Unpaired surrogates must be encoded as \uXXXX.
- Use \xXX rather than \u00XX where possible.

R=sigmund@google.com

Review URL: https://codereview.chromium.org/1520033002 .
2015-12-14 11:33:12 -08:00
Johnni Winther 720e72428c Check for one-to-many source mappings.
BUG=
R=herhut@google.com

Review URL: https://codereview.chromium.org//1287973002.
2015-08-17 09:57:57 +02:00
Stephan Herhut 70edfeeb18 Fix warning in test of js_ast package.
BUG=
TBR=floitsch@google.com

Review URL: https://codereview.chromium.org//1219533007.
2015-07-03 13:28:27 +02:00
Johnni Winther 4ed63b6790 Fix multiline problem in printer_callback_test.
BUG=
R=herhut@google.com

Review URL: https://codereview.chromium.org//1224513003.
2015-07-02 13:20:08 +02:00
Johnni Winther 048a4651fe Create and test source mapping for invocations.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1196433002.
2015-07-02 10:38:19 +02:00
Stephan Herhut 225be75498 Fix some tests and exclude others from CRLF rewriting.
R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1212823002.
2015-06-26 14:40:01 +02:00
johnniwinther@google.com 19efd2cc96 Improve precision of JS printer callbacks (2nd try)
BUG=
R=floitsch@google.com, sra@google.com

Review URL: https://codereview.chromium.org//1081313003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45164 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-15 12:09:15 +00:00