dart-sass/test/node_api
Natalie Weizenbaum e8ac314f56
Support dart-lang/source_span#25 (#566)
This adds a --no-unicode option to disable Unicode span rendering,
decouples repl highlighting from SourceSpan.highlight, and updates
tests to work with the new error highlighting.

It also tightly scopes source spans for statements with children.
Previously, source spans for these nodes extended all the way through
any whitespace that followed the node. This led to messy-looking
multiline span highlights with dart-lang/source_span#25.

Now, StylesheetParser.children doesn't consume trailing whitespace.
Instead, we add a helper method StylesheetParser._withChildren that
parses children, creates the appropriate span, and then consumes the
trailing whitespace.
2019-01-28 20:42:32 -05:00
..
value Make types.String.prototype.setValue() de-quote a string (#535) 2018-12-06 15:06:32 -08:00
api.dart Remove the workaround for dart-lang/sdk#30098 2018-06-14 16:15:27 -07:00
function_test.dart Reformat with Dart-2-only features 2018-11-15 15:16:24 -08:00
importer_test.dart Support dart-lang/source_span#25 (#566) 2019-01-28 20:42:32 -05:00
intercept_stdout.dart Reformat with Dart-2-only features 2018-11-15 15:16:24 -08:00
source_map_test.dart Reformat with Dart-2-only features 2018-11-15 15:16:24 -08:00
utils.dart Reformat with Dart-2-only features 2018-11-15 15:16:24 -08:00