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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library scanner; 5 library scanner;
6 6
7 import 'dart:collection' show IterableBase; 7 import 'dart:collection' show IterableBase, HashSet;
8 8
9 import 'scanner_implementation.dart';
10 import '../elements/elements.dart'; 9 import '../elements/elements.dart';
11 import '../elements/modelx.dart' 10 import '../elements/modelx.dart'
12 show FunctionElementX, 11 show FunctionElementX,
13 TypedefElementX, 12 TypedefElementX,
14 VariableElementX, 13 VariableElementX,
15 VariableListElementX, 14 VariableListElementX,
16 ClassElementX, 15 ClassElementX,
17 MetadataAnnotationX, 16 MetadataAnnotationX,
18 MixinApplicationElementX; 17 MixinApplicationElementX;
19 import '../dart2jslib.dart'; 18 import '../dart2jslib.dart';
20 import '../native_handler.dart' as native; 19 import '../native_handler.dart' as native;
21 import '../string_validator.dart'; 20 import '../string_validator.dart';
22 import '../tree/tree.dart'; 21 import '../tree/tree.dart';
23 import '../util/characters.dart'; 22 import '../util/characters.dart';
24 import '../util/util.dart'; 23 import '../util/util.dart';
24 import '../source_file.dart' show SourceFile, Utf8BytesSourceFile;
25 import 'dart:convert' show UTF8;
26 import 'dart:typed_data' show Uint8List;
25 27
26 part 'class_element_parser.dart'; 28 part 'class_element_parser.dart';
27 part 'keyword.dart'; 29 part 'keyword.dart';
28 part 'listener.dart'; 30 part 'listener.dart';
29 part 'parser.dart'; 31 part 'parser.dart';
30 part 'parser_task.dart'; 32 part 'parser_task.dart';
31 part 'partial_parser.dart'; 33 part 'partial_parser.dart';
32 part 'scanner.dart'; 34 part 'scanner.dart';
33 part 'scanner_task.dart'; 35 part 'scanner_task.dart';
36 part 'array_based_scanner.dart';
37 part 'utf8_bytes_scanner.dart';
34 part 'string_scanner.dart'; 38 part 'string_scanner.dart';
35 part 'token.dart'; 39 part 'token.dart';
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698