Chromium Code Reviews| Index: lib/src/span_context.dart |
| diff --git a/lib/src/colors.dart b/lib/src/span_context.dart |
| similarity index 52% |
| copy from lib/src/colors.dart |
| copy to lib/src/span_context.dart |
| index 274fc92af617e0f7a06ab6c10a1d6ae95f042ef3..a6b40fa4891dbe799a5345a59ab13dcdcd0f6251 100644 |
| --- a/lib/src/colors.dart |
| +++ b/lib/src/span_context.dart |
| @@ -2,12 +2,11 @@ |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| -// Color constants used for generating messages. |
| -library source_span.colors; |
| +library source_span.span; |
| -const String RED = '\u001b[31m'; |
| - |
| -const String YELLOW = '\u001b[33m'; |
| - |
| -const String NONE = '\u001b[0m'; |
| +/// Information about text before and after a span to provide context. |
| +abstract class SourceSpanContext { |
|
nweiz
2015/03/24 23:01:17
Why is this necessary? Can't FileSpan just impleme
Siggi Cherem (dart-lang)
2015/03/25 00:33:25
Done.
|
| + /// Line containing the source-span. |
| + String contextLine; |
| +} |