Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: lib/src/line_scanner.dart

Issue 1318603008: Add new SpanScanner.eager(). (Closed) Base URL: git@github.com:dart-lang/string_scanner@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/eager_span_scanner.dart ('k') | lib/src/span_scanner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/line_scanner.dart
diff --git a/lib/src/line_scanner.dart b/lib/src/line_scanner.dart
index 6a2880b5e4335c598d89b0ce7c45c420c421da70..66d7575b2e7c20fa59ec952bff4280dac5302e87 100644
--- a/lib/src/line_scanner.dart
+++ b/lib/src/line_scanner.dart
@@ -8,6 +8,8 @@ import 'package:charcode/ascii.dart';
import 'string_scanner.dart';
+// Note that much of this code is duplicated in eager_span_scanner.dart.
+
/// A regular expression matching newlines across platforms.
final _newlineRegExp = new RegExp(r"\r\n?|\n");
« no previous file with comments | « lib/src/eager_span_scanner.dart ('k') | lib/src/span_scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698