Commit Graph

3 Commits

Author SHA1 Message Date
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
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