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

Unified Diff: sdk/lib/_internal/compiler/implementation/scanner/scannerlib.dart

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests Created 7 years, 2 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
Index: sdk/lib/_internal/compiler/implementation/scanner/scannerlib.dart
diff --git a/sdk/lib/_internal/compiler/implementation/scanner/scannerlib.dart b/sdk/lib/_internal/compiler/implementation/scanner/scannerlib.dart
index 440eb165a129ca71e0e28494bdcf7a9fe6e79b9c..9e3815bece03f4759fc192b4c2e7920b60d226ba 100644
--- a/sdk/lib/_internal/compiler/implementation/scanner/scannerlib.dart
+++ b/sdk/lib/_internal/compiler/implementation/scanner/scannerlib.dart
@@ -4,9 +4,8 @@
library scanner;
-import 'dart:collection' show IterableBase;
+import 'dart:collection' show IterableBase, HashSet;
-import 'scanner_implementation.dart';
import '../elements/elements.dart';
import '../elements/modelx.dart'
show FunctionElementX,
@@ -22,6 +21,9 @@ import '../string_validator.dart';
import '../tree/tree.dart';
import '../util/characters.dart';
import '../util/util.dart';
+import '../source_file.dart' show SourceFile, Utf8BytesSourceFile;
+import 'dart:convert' show UTF8;
+import 'dart:typed_data' show Uint8List;
part 'class_element_parser.dart';
part 'keyword.dart';
@@ -31,5 +33,7 @@ part 'parser_task.dart';
part 'partial_parser.dart';
part 'scanner.dart';
part 'scanner_task.dart';
+part 'array_based_scanner.dart';
+part 'utf8_bytes_scanner.dart';
part 'string_scanner.dart';
part 'token.dart';

Powered by Google App Engine
This is Rietveld 408576698